C# window application: “MyApplication.vshost.exe” Continuous coming at task manager

后端 未结 3 1430
清歌不尽
清歌不尽 2021-02-07 18:18

In my c# windows application whenever I open my solution in visual studio 2008, than \"MyApplication.vshost.exe\" is always visible at window task manager--> Process tab.

<
相关标签:
3条回答
  • 2021-02-07 18:37

    The vshost.exe feature was introduced with VS2005.

    The purpose of it is mostly to make debugging launch quicker - basically there's already a process with the framework running, just ready to load your application as soon as you want it to.

    See this MSDN article and this blog post for more information.

    You can stop the *.vshost.exe from spawning by -

    Right clicking MyProject -> Properties -> Debug tab, and unchecking the Enable the Visual Studio hosting process checkbox.

    0 讨论(0)
  • 2021-02-07 18:39

    You can read more about vshost.exe on MSDN.

    The hosting process is a feature in Visual Studio 2005 that improves debugging performance, enables partial trust debugging, and enables design time expression evaluation. The hosting process files contain vshost in the file name and are placed in the output folder of your project.

    0 讨论(0)
  • 2021-02-07 19:01

    You can disable this. Right click on the project, select properties and go to the Debug tab. In there you can uncheck the "Enable the Visual Studio hosting process" check box

    0 讨论(0)
提交回复
热议问题