Reputation: 405
I have a project which I need to debug in another solution. I'm trying to generate a PDB file, but its not getting generated. However, a .PSSYM file is getting generated. Things that I have already tried:
Why is it not getting generated? And what is this PSSYM file?
Upvotes: 8
Views: 11098
Reputation: 103
Edit the csproj file of the project you want to debug and make sure the following line is there.
<DebugType>pdbonly</DebugType>
Note 'pdbonly'
Upvotes: 0
Reputation: 405
For me, Postsharp was messing with it, even after updating it. I set the Conditional Compilation Symbols to "SkipPostSharp" for my project and my PDB got generated.
Upvotes: 3
Reputation: 17002
Under Build > Advanced > Debug Info, change Debugging Info to PDB-Only.
This will generate a PDB file for your project.
Upvotes: 12