2013-12-31

Accessing TFS and Visual Studio Online from F#

I've been working on a library named SourceLink.Tfs that can be used to:
  1. easily access TFS or Visual Studio Online (VSO) from F# Interactive
  2. integrate with TFS from your FAKE build scripts
  3. run FAKE from your TFS builds
  4. write custom code activities in F#
The easiest way to get started is to use NuGet to add FAKE to your solution, manually add the SourceLink references to .nuget\packages.config, and do a build to restore them.

Loading gist ...

In Visual Studio 2013, you can log in to either TFS or VSO. Those credentials will be used by default to access the server.

Loading gist ...

To use VSO from a FAKE build, you need to add to add SourceLink.Activities to your build template.

Loading gist ...

Loading gist ...

Please try it out. StackOverflow can be used with a "sourcelink" tag for questions. I'm headed on vacation to begin the new year, but I expect to have a stable version published soon after that incorporates source linking too. Happy new year!