开发者

How to remove vshost.exe after testing?

开发者 https://www.devze.com 2023-03-30 17:53 出处:网络
In VS2010, I\'m using TestDriven.n开发者_运维技巧et to execute unit tests.It seems that each time I run a test, another myappname.vshost.exe loads into memory.It not uncommon to accumulate well over 2

In VS2010, I'm using TestDriven.n开发者_运维技巧et to execute unit tests. It seems that each time I run a test, another myappname.vshost.exe loads into memory. It not uncommon to accumulate well over 20 of these processes. Is there something I can do to prevent this?

Or, is there a quick way to kill all of these processes?


If you disable "Enable the Visual Studio Host Process" checkbox on the debug page of your project properties, this won't spawn. If you notice that this hampers your work - i.e. you need features of the host process, you can try to write a simple script to kill the process that you run after each debug session.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号