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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With