Loading gist ...
Loading gist ...
That target creates SourceLink.dll.pdb.srcsrv and SourceLink.pdll.pdb.srcsrv text files after verifying the checksums. It then runs pdbstr.exe to apply them to the pdb files. I punted on modifying the pdb file myself. This approach is stable and fast. The srcsrv text file simply looks like this:
Loading gist ...
With the pdb files source linked, the Visual Studio debugger will download the source files on demand!
I have it linking to the main repository on GitHub. However, I name the VSO repo as "origin" to make Visual Studio integration work.