I want to use debug symbols, but I am receiving the following error:
a matching symbol file was not found in this folder
What
I have fixed my debug symbols, forcing them to match using this tool:
chkmatch tool
So, my problem was I was trying to debug my project and the debugger couldn't step-in to the in-house nugets sources. I had the source files of the nuget project. Still the visual studio didn't accept the pdb files I was trying to show it to. Showing exact same error:
a matching symbol file was not found in this folder
So, what I did was I added this to the .proj file of the nugets project:
full
And created the dll and pdb file again using the rebuild option. In the command line I ran:
.\ChkMatch.exe -m name_of_your.dll name_of_your.pdb
It said this:
Writing to the debug information file... Result: Success.
Great success! So, next, I referenced this dll instead to the proj I was trying to debug. I worked when I tried to load the symbol again.
Hope it helps.