O'Reilly logo

Microsoft Team Foundation Server 2015 Cookbook by Tarun Arora

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Version DLLs in build output with build number

Traceability is very important in the software develop lifecycle. Teams strive for traceability between requirements and test cases, code check-ins and builds, and code changes and test runs. Talking of traceability, it would be useful to map the binaries in the build output back to the build. In this recipe, you'll learn how to stamp the DLLs in the build output with the build number they are being generated from.

Getting ready

Scenario: The FabrikamTFVC Team wants to label the source code used in the build and tag the label and build output using the build number:

Getting ready

Download the StampBuildNumber.ps1 script ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required