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 faced this problem. In my case, somehow the startup project entry got cleared. So, make sure atleast one among the projects in your solution explorer is set as the startup project. To set up a startup project, right click on the desired project in the solution explorer --> click "Set as Startup Project"
Sorry to bring up an old question but I had the same problem today, but the reason was actually because of the build order of the solution. If you go into the
Solution Property Pages
->Common Properties
->Startup Project
.The ensuring
Multiple startup projects
is selected, move the web project to the top of the list.In my web application solution I have 2 web projects and 5 code projects, one of my code projects was at the top, and as such debug would not start.
Hope others find this helpful
I had the same problem and all the tricks didnt do it until I unchecked the "Enable the Visual Studio hosting process" under the debug tab in the project properties
I have found a solution:
.csproj
project header with notepad ++ for example.<UseIISExpress>false</UseIISExpress>
in the<PropertyGroup>
section<UseIISExpress>true</UseIISExpress>
This process generally works for me:
I had the same issue and while looking at bresleveloper's answer, I found the following issue which seemed to work for me. Posting this in case anyone else has the same issue, then they can check this as well.
Went to Debug Tab < Project Properties. Found that Debugging options were totally disabled. Checked the "Enable Debugging" check box. That did if for me..