开发者

How to remove vshost.exe after testing?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜