I've got a solution that works fine when I open it in VS2013 (Ultimate), but when I open it in VS2015 (Enterprise), two of the projects don't generate debug information.
One project is an MVC 5 app and the other is a class library. All projects in the solution are set to .net 4.5 and all are set to debug mode
The advanced settings for both projects are set to full and appear to compile without issue, yet when I open the Debug > Windows > Modules window while the site is running, these two binaries have "Binary was not built with debug information" in their Symbol Status (every other binary in the solution loads symbols correctly)
I've deleted the bin/obj folders, cleared temporary asp.net files, restarted both VS and windows(10) and no luck
This is affecting other team members, so it doesn't appear to be an issue with my environment
Also, if I compile in VS2013, VS2015 will use the pdb's without problem, it just won't generate them for itself
I'm assuming this is a setting/feature/bug somewhere in VS2015, but i'm not sure what else I can check/change to get this sorted out
EDIT: The web project has it's web.config set to debug="true" and it isn't being affected by config transforms
Open Settings: Tools->Options -> Debugging -> Symbols and add directory, where your . PDB files are located. You can add custom path, like for each project, and also you can edit common path, where Visual Studio will save all . pdb cache.
pdb file stores all debug information for the project's .exe file, and resides in the \debug subdirectory.
It turns out that this was a problem with PostSharp
The projects both referenced version 3.1.52 - after upgrading to 4.1.21 we now have pdb's being generated again
I'm not quite sure what the issue is or why it's manifested this way, but hopefully this might stop someone else banging their head against the wall like i've been!
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