I am using Visual Studio 2013, .Net Framework 4.0, and C#.
I am trying to debug a file in my project. I have the project set to debug build in the project properties, with "optimize" unchecked. And yet, whenever I try to debug this project, it can't load the symbols. So I go to the modules window to load the symbols, and the dll has "Optimized" column set to "Yes", the "User Code" column set to "No", and the message "Binary was not built with debug information" in the Symbol Status column.
I have cleaned and rebuilt, reset iis, and manually cleaned out the temporary asp.net files numerous times, with no avail.
Anybody know how to solve this?
In the Visual Studio toolbar, make sure the configuration is set to Debug. To start debugging, select the profile name in the toolbar, such as <project profile name>, IIS Express, or <IIS profile name> in the toolbar, select Start Debugging from the Debug menu, or press F5.
If your project is already in Debug mode. Please check Advanced Build Settings Dialog Box in Build tab of project.
Make sure that Debug Info is not set to none Reference:
Stackoverflow
MSDN
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With