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

后端 未结 3 1421
清歌不尽
清歌不尽 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.

提交回复
热议问题