Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pressing F5 in Visual Studio 2010 Builds but does not Launch Application

I have a Click Once application (WPF) in C#. Initially when I would hit F5 to debug/launch the application it worked smoothly. Eventually, F5 only would build the solution and not launch the application (therefore I could not step through my code). For a short while I switched from Debug to Release mode and for some reason that allowed the application to launch after using F5 and I could step through my code again. But now that no longer works either. Long story short, I cannot get the application to run in a manner that allows me to step through the code. I can only do a Start without Debugging (Ctrl + F5). Obviously this doesn't do much for me other than tell me if the application works or not.

like image 396
QuittersNL Avatar asked Dec 16 '22 03:12

QuittersNL


1 Answers

The thing that worked for me today was to open Task Manager and look for any debug programs that didn't terminate properly.

Task Manager > Processes > kill all programs "*.vshost.exe *32"
like image 90
Ryan Loggerythm Avatar answered May 17 '23 23:05

Ryan Loggerythm