Saturday, November 21, 2009

Visual Studio: What is "MyApplication.vshost.exe" for?

The MyApplication.vshost.exe file is generated by Visual Studio. The IDE uses it for improved F5 performance, partial trust debugging, and design time expression evaluation. You should not include this file when deploying/installing your application. It's not required for just running the stand-alone application since it's only used while working within the Visual Studio IDE.

You can disable the generation and usage of vshost in the application settings: "Enable the Visual Studio hosting process" under the "Debug" tab. You'd lose the benefits mentioned above, of course.

More information here: dtemp's WebLog

No comments:

Post a Comment