Error - "The loaded PDB file for the assembly "System.Windows.Forms" is not the one .NET Reflector "

Any ideas why this may be happening?

---------------------------
.NET Reflector
---------------------------
The loaded PDB file for the assembly "System.Windows.Forms" is not the one .NET Reflector expected.



Expected version: “C:\Users\Andrei\AppData\Local\Red Gate\.NET Reflector\Cache\0\System.Windows.Forms.pdb”



Loaded version: "C:\Users\Andrei\AppData\Local\Temp\SymbolCache\System.Windows.Forms.pdb\9534b431fc6040c19cf8b5f37a9058601\System.Windows.Forms.pdb"



If the correct PDB file is not loaded, debugging may not work.
---------------------------
OK   
---------------------------




Tagged:

Answers

  • Jessica RJessica R Posts: 1,319 Rose Gold 4

    Hi @fandrei,

    To make sure that Reflector can load the correct pdb file, can you please remove the existing pdb file that's getting loaded and then reload the Reflector-created one? To do this, please:

    • Go to Debug>Options and settings and then under Debugging>Symbols, make sure that the Reflector cache (%localappdata%\red gate\.NET Reflector\Cache\0) is added in the symbol file location list
    • Uncheck the 'Microsoft Symbol Servers' location if it's enabled and then hit 'Empty symbol cache'
    • From the Reflector Object Browser, enable debugging on the System.Windows.Forms.dll (right-click on it and choose 'Enable debugging').
    • Start debugging -- if there are no symbols loaded, kindly go back to Debug>Windows>Modules, right-click on the System.Windows.Forms and Load Symbols From> Symbol Path. (just a note: the Reflector symbols might still load from the previous location, but you can check the timestamp on it to make sure it matches the one in the Reflector cache)

    Hope that helps, please let me know if not!


    Jessica Ramos | Product Support Engineer | Redgate Software

    Have you visited our Help Center?


Sign In or Register to comment.