2014-01-15

SourceLink.Fake available

I just published a prerelease build of SourceLink.Fake. It provides the ability to do source linking from FAKE. In addition, it provides a helper library for using TFS. Use your favorite NuGet tool to install it. This build marks a major milestone as it is now bootstrapped. Build SourceLink.Fake.0.3.0-a1401160102-fc7f738e was built and source linked using FAKE and SourceLink.Fake on the Visual Studio Online Build service. Take a look at the build.fsx. Here is the target:
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.