Match assemblies and PDB files

pdb_filePart of our build process is to save the PDB files to a file share. This way we can debug the assemblies when needed. Without the correct PDB this is not possible, even with the sources available.

Visual Studio matches the assembly to the PDB with a GUID embedded in the files. Using dumpbin the GUID can be found for the assembly. Reading the GUID from the PDB file with a HEX editor is not so easy.

The CHKMATCH tool from does the heavy lifting when checking for a match. Simply provide the assembly and the pdb file. The result is Matched or Unmatched (and the reason)



Dumpbin usage
PDB format visible with HEX editor

About erictummers

Working in a DevOps team is the best thing that happened to me. I like challenges and sharing the solutions with others. On my blog I’ll mostly post about my work, but expect an occasional home project, productivity tip and tooling review.
This entry was posted in Tooling and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.