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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

$(SolutionRoot)\YourApp<br />

<br />

<br />

$(SolutionRoot)\DependentApp<br />

<br />

<br />

4. Override the BeforeGet event to retrieve the workspaces for each <strong>Team</strong> Project:<br />

<br />

<br />

<br />

<br />

<br />

<br />

5. Check in the build script and run the build.<br />

Additional Resources<br />

• For more information, see Manish Agarwal’s blog entry, “Working <strong>with</strong> multiple<br />

team projects in <strong>Team</strong> Build,” at<br />

http://blogs.msdn.com/manishagarwal/archive/2005/12/22/506635.aspx<br />

How to Change the Build Configuration (Release/Debug)<br />

In order to change build configuration in an existing build, you need to modify the<br />

tag in TFSBuild.proj.<br />

To change the build configuration<br />

1. Open Source Control Explorer.<br />

2. In Source Control Explorer, expand your team project folder.<br />

3. Expand the <strong>Team</strong>BuildTypes folder.<br />

4. Select the team build folder for which you want to turn on code analysis.<br />

5. Check out the TFSBuild.proj file from source control. You might need to perform a<br />

Get Latest Version operation on the folder first.<br />

6. In Source Control Explorer, double-click TFSBuild.Proj to open it.<br />

7. Modify the tag to the new build configuration.<br />

8. Save TFSBuild.proj and check it back into source control.

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

Saved successfully!

Ooh no, something went wrong!