26.04.2015 Views

Team Development with Visual Studio Team Foundation Server

Team Development with Visual Studio Team Foundation Server

Team Development with Visual Studio Team Foundation Server

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<br />

<br />

<br />

Additional Resources<br />

• For another method to modify assembly versioning, see Aaron Halberg’s blog post<br />

“<strong>Team</strong> Build and the AssemblyInfo Task” at<br />

http://blogs.msdn.com/aaronhallberg/archive/2007/06/08/team-build-and-theassemblyinfo-task.aspx<br />

• The AssemblyInfo task, referenced in the blog post above, has a new home on<br />

GotDotNet. You can find it here<br />

http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=5C4<br />

55590-332C-433B-A648-E368B9515580<br />

• For more information about customizing <strong>Team</strong> <strong>Foundation</strong> Build, see “Customizing<br />

<strong>Team</strong> <strong>Foundation</strong> Build” at http://msdn2.microsoft.com/enus/library/ms400688(VS.80).aspx<br />

How to Set Up Workspace Mapping to Get and Build a Subset of the Tree<br />

The workspace mapping file defines the source control folders that are retrieved by the<br />

build server. It is not always necessary to check out all of the files in order to perform the<br />

build. You can change your workspace definition to reduce the number of folders<br />

included, or you can cloak unnecessary files so that they are not retrieved as part of the<br />

build.<br />

For example, the default mapping for a new project is $/<strong>Team</strong>Project. If all your source<br />

files are under $/<strong>Team</strong>Project/foo/bar/foobar/sources, you should map only that directory<br />

To cloak files and folders<br />

1. Check out WorkspaceMapping.xml from source control.<br />

2. Add the appropriate cloak entries to this file.<br />

3. Check in WorkspaceMapping.xml.<br />

The WorkspaceMapping.xml file looks like the following:<br />

<br />

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!