{"action":"created","issue":{"url":"https://api.github.com/repos/Fody/Costura/issues/107","labels_url":"https://api.github.com/repos/Fody/Costura/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/Fody/Costura/issues/107/comments","events_url":"https://api.github.com/repos/Fody/Costura/issues/107/events","html_url":"https://github.com/Fody/Costura/issues/107","id":68452523,"number":107,"title":"Exceptions thrown on startup","user":{"login":"m3taphysics","id":296469,"avatar_url":"https://avatars.githubusercontent.com/u/296469?v=3","gravatar_id":"","url":"https://api.github.com/users/m3taphysics","html_url":"https://github.com/m3taphysics","followers_url":"https://api.github.com/users/m3taphysics/followers","following_url":"https://api.github.com/users/m3taphysics/following{/other_user}","gists_url":"https://api.github.com/users/m3taphysics/gists{/gist_id}","starred_url":"https://api.github.com/users/m3taphysics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m3taphysics/subscriptions","organizations_url":"https://api.github.com/users/m3taphysics/orgs","repos_url":"https://api.github.com/users/m3taphysics/repos","events_url":"https://api.github.com/users/m3taphysics/events{/privacy}","received_events_url":"https://api.github.com/users/m3taphysics/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-14T17:44:55Z","updated_at":"2015-04-15T06:25:00Z","closed_at":null,"body":"Hello, I am not sure wahts causing this but it appears on startup I get LOTS of exceptions. Removing Costura appears to fix it. If you can give me an idea of somthing to try or look at, I can hopefully solve the problem :).\r\n\r\n\r\nFirst-chance exception at 0x000007FEFD13940D in DataForge.exe: Microsoft C++ exception: EEFileLoadException at memory location 0x00000000001EAEE0.\r\nFirst-chance exception at 0x000007FEFD13940D in DataForge.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.\r\nFirst-chance exception at 0x000007FEFD13940D in DataForge.exe: Microsoft C++ exception: EEFileLoadException at memory location 0x00000000001EAEE0.\r\nFirst-chance exception at 0x000007FEFD13940D in DataForge.exe: Microsoft C++ exception: EEFileLoadException at memory location 0x00000000001EBB50.\r\nFirst-chance exception at 0x000007FEFD13940D in DataForge.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.\r\nFirst-chance exception at 0x000007FEFD13940D in DataForge.exe: Microsoft C++ exception: EEFileLoadException at memory location 0x00000000001EBB50.\r\nFirst-chance exception at 0x000007FEFD13940D in DataForge.exe: Microsoft C++ exception: EEFileLoadException at memory location 0x00000000001EBAE0."},"comment":{"url":"https://api.github.com/repos/Fody/Costura/issues/comments/93217732","html_url":"https://github.com/Fody/Costura/issues/107#issuecomment-93217732","issue_url":"https://api.github.com/repos/Fody/Costura/issues/107","id":93217732,"user":{"login":"m3taphysics","id":296469,"avatar_url":"https://avatars.githubusercontent.com/u/296469?v=3","gravatar_id":"","url":"https://api.github.com/users/m3taphysics","html_url":"https://github.com/m3taphysics","followers_url":"https://api.github.com/users/m3taphysics/followers","following_url":"https://api.github.com/users/m3taphysics/following{/other_user}","gists_url":"https://api.github.com/users/m3taphysics/gists{/gist_id}","starred_url":"https://api.github.com/users/m3taphysics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m3taphysics/subscriptions","organizations_url":"https://api.github.com/users/m3taphysics/orgs","repos_url":"https://api.github.com/users/m3taphysics/repos","events_url":"https://api.github.com/users/m3taphysics/events{/privacy}","received_events_url":"https://api.github.com/users/m3taphysics/received_events","type":"User","site_admin":false},"created_at":"2015-04-15T06:25:00Z","updated_at":"2015-04-15T06:25:00Z","body":"This is the application entry point:\n\n        /// <summary>\n        /// Application Entry Point.\n        /// </summary>\n        [System.STAThreadAttribute()]\n        [System.Diagnostics.DebuggerNonUserCodeAttribute()]\n\n[System.CodeDom.Compiler.GeneratedCodeAttribute(\"PresentationBuildTasks\",\n\"4.0.0.0\")]\n        public static void Main() {\n            DataForge.App app = new DataForge.App();\n            app.InitializeComponent();\n            app.Run();\n        }\n\nBut its auto generated by visual studio? in App.g.i.cs?\n\nOn Wed, Apr 15, 2015 at 6:29 AM, Ashley Canning <ashley.canning@gmail.com>\nwrote:\n\n> Hmm its not added as a reference to the project but I do use some of its\n> methods by loading the DLL at runtime. That shouldn't affect costura should\n> it?\n>\n> I'll try the main method thing when I get In to work :).\n> On 15 Apr 2015 06:17, \"Cameron MacFarland\" <notifications@github.com>\n> wrote:\n>\n>> Just put the main method in a separate class.\n>>\n>> class Program {\n>>     static void Main(string[] args) {\n>>         Loader.Run(args);\n>>     }\n>> }\n>>\n>> class Loader {\n>>     static void Run(string[] args) {\n>>         // Your actual main code.\n>>     }\n>> }\n>>\n>> Also for unmanaged code Costura doesn't always work, and you may be\n>> better off not using Costura for them. The problem is unmanaged code\n>> handles it's own dependencies and so it may have custom code to look for\n>> dependencies in files in different paths, or with different names.\n>>\n>> —\n>> Reply to this email directly or view it on GitHub\n>> <https://github.com/Fody/Costura/issues/107#issuecomment-93192749>.\n>>\n>\n"}}