VS2010 started launching vshost process automatically

64 Views Asked by At

Suddenly and for no apparent reason, my VS2010 has started launching the vshost process for my project without me even trying to start it.

It's a solution with several DLL:s, one Asp.Net project and one WinForms project named Diamonds.WinForm. When I set Diamonds.WinForm to "Set as StartUp Project" and have the option "Enable the Visual Studio hosting process" checked, VS2010 will IMMEDIATELY start a Diamonds.WinForm.vshost.exe process. I didn't even try to start debugging or anything. If I uncheck "Enable the Visual Studio hosting process" the process is killed, and if I check it again, the process starts again. That is, IMMEDIATELY when I click the checkbox, before I even save the setting.

This just started happening this morning, and to the best of my knowledge I didn't change anything on my system, in my VS2010 installation or settings, or in my project settings. I did change my code and WinForms designs.

I first noticed this because when I tried to start debugging, the prompted build failed, unable to copy Diamonds.WinForm.exe from the obj\Debug folder to the bin\Debug folder, because it's being used by another process (the vshost process).

Any idea what makes this happen and how I can stop it from happening?

0

There are 0 best solutions below