I made a bunch of changes to fix a mistake in which I could not build. One of these changes finally worked, but now I can’t debug it!
When I leave a breakpoint in my .cs file, the debugger says:
The breakpoint will not currently be hit. No symbols have been loaded for the document.
Following stackoverflow's tips, I checked the modules tab (Debug-> Windows-> Modlues) to see information about loading a character. The problem is that there is no project.dll!
WebDev.WebHost.dll is, and there are system.dll system files. I checked my colleague and he has project.dll, so something that I did broke the debugger.
Things suggested in another article I tried include:
- Setting up project debugging mode
- cleaning and restoring all
- Editing a file and then returning it to make sure that it has been restored
- Ensure that the correct startup project in the solution properties
- Make sure everything is built in debug mode in the solution properties
- Make sure ASP.NET debugger is checked in project properties
- Make sure that debug mode has been fully set in the project properties
- Disabling "only my code" in the debugger settings
- Restarting visual studios
- Rebooting my computer.
- Running Visual Studios as an Administrator
- Verifying a new copy of code from source code
- Upgrade to Visual Studios 2013
- Switching my browser to Internet Explorer
- Verify that IIS points to the correct directory.
- Clearing C: \ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ Temporary ASP.NET Files \ project \ and granting editing rights to all users.
, project.dll ?