Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

exit visual studio

$
0
0

I have a VS instance created like that:

Type objType = Type.GetTypeFromProgID("VisualStudio.DTE.10.0");
objDTE = (DTE2)Activator.CreateInstance(objType);

How do I exit VS and make sure the devenv.exe process exited? I am aware of:

objDTE.Quit();
but unfortunately after this line the devenv.exe process is still hanging around - it disappears a few lines down. How do I make sure it disappears immediately (it blocks some files from being deleted)?


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>