When I hit F5 (debugging mode) nothing happens. Building works correctly, exe file I can launch properly, but can't start debug. Why?
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Generic Generics in Managed C++
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
I have found a solution:
What worked for me was completely deleting the solution folder (had to reboot Windows to be allowed to do this), and then getting it back from source control. Sounds drastic - but it doesn't actually take very long.
My experience with Visual Studio 2015, I tried deleting all processes and restarting it didn't work. I tried deleting the bin directory, it didn't work.
Sadly, the only thing that worked was closing down and restarting Visual Studio 2015 in Admin mode. Sigh...
Same error, tried executing VS as Administrator and it worked.
Using Visual Studio 2017. Had dozen projects in a solution. Pressing debug would build with no error then do nothing.
Issue was one Project built to .Net 4.6 while the rest where .Net 4.0
I had this problem in a WPF application I was working on. When running the debugger, a process named MyApp.VsHost.exe would start and continue running in the background, but there would be no exceptions thrown and nothing in the Output window except build information.
It was because I had changed the namespace of my
App
class but did not update theClass
attribute inApp.xaml
to match the new namespace. I changed the namespace in the xaml file and it worked again.