Your Ad Here
Showing posts with label Visual Studio Team System. Show all posts
Showing posts with label Visual Studio Team System. Show all posts

Sometimes it is required to select specific labeled/change set code for build. For this in Visual Studio Team System(VSTS) 2008 there is one proprty called GetVersion. Specify GetVersion property in TFSBuild.proj XML file anywhere within <PropertyGroup> </PropertyGroup>

Syntax for Changeset -
<PropertyGroup>
<GetVersion>Cxxxx</GetVersion>
<!-- where xxx is your changeset number -->
</PropertyGroup>

Syntax for Label-
<PropertyGroup>
<GetVersion>Lxxxx</GetVersion>
<!-- where xxx is your Label defined in TFS-->
</PropertyGroup>

Syntax for Latest Version-
<PropertyGroup>
<GetVersion>T</GetVersion>
<!-- T is the default property to get latest sources--> </PropertyGroup>

Syntax for Workspace version -
<PropertyGroup>
<GetVersion>Wworkspacename;owner</GetVersion>
</PropertyGroup>



Recent Entries

Recent Comments