Creating Fake Builds in TFS 2010

Sometimes it can be useful to create “fake” builds in Team Foundation Server in order to successfully use other ALM features in the product.  If you aren’t using Team Build to generate the build drops for your application but you’d like to have a way to track test runs against builds in TFS one way would be to generate a corresponding “Fake Build” in TFS and publish your tests against that.  With all the added Test Management features in 2010 there are even more ways to associate your testing with specific builds so if you’re not using Team Build to generate your builds yet, the ability to create Fake Builds in TFS that correspond to your real builds may come in handy.

Here is a post by Jason Prickett that shows the updated code for 2010 (it also links to the old post which showed how to do it in 2008):