Alex Rivera | Logout

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

Asked 2009-08-03T08:27:12.880
13

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.

When i tried to kill that, it again reappear at Process tab.

I am not getting for what vshost.exe created? and why its not getting removed from task manager? How can we remove it?

Edit
Report

2 Answers

18

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.

answered 2009-08-03T08:34:54.170
5

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

answered 2009-08-03T08:35:23.797

Your Answer