Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I can't kill MyApp.vshost.exe

Tags:

vshost.exe

I've managed to get myself in a state where I've no instances of devenv running, but still a MyApp.vshost.exe in the background (no visible windows or consoles).

I've tried TaskManager, ProcessExplorer and command line (taskkill /F /IM MyApp.vshost.exe), none of them complain, the command line even says 'PID 5824 stopped', but it's still there.

I know I can reboot, but I'd rather get to the bottom of this.

It doesn't look like it's this issue (http://support.microsoft.com/kb/982551), because I can reboot no problem (just have in fact, so won't be able to provide any further diagnostics, sorry).

EDIT

This is how I got into this pickle:

alt text

like image 783
Benjol Avatar asked Nov 30 '10 13:11

Benjol


1 Answers

I was able to kill my persistent vshost process by following these steps (VS2010):

  1. open the properties of my executable project
  2. in the "Debug" tab, uncheck "Enable the Visual Studio hosting process"
  3. save the project file

That was it, the process stopped, and there was no need to restart Visual Studio.

like image 97
Eat at Joes Avatar answered Sep 19 '22 16:09

Eat at Joes