Should MyApp.vshost.exe be distributed with MyApp.exe?
When building开发者_StackOverflow社区 my C# .NET project, a 'MyApp.vshost.exe' file was placed in the release bin with 'MyApp.exe' under Visual Studio 2010. When distributing 'MyApp.exe' should I package the 'MyApp.vshost.exe' with it as well?
Thanks in advance.
No, the hosting process is a feature that improves debugging scenarios only. Your customers should have no need for it at all.
No.
That file is only needed to allow your application run from within Visual Studio. It stands for VisualStudioHOST.
No. This application is used in debugging only. Look here
No.
And when creating a setup.exe you don't even have to know that.
Just select "Primary output" and the setup-generator will know what to do.
精彩评论