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.

solution builds. The build folder is specified in tfs.proj in the<br />

tag.<br />

c. Permissions are not set to allow the installer to build. Make sure that<br />

the tfsserver user account has permissions to read the .vdproj file and<br />

source files for your installer project as well as the application <strong>with</strong> which<br />

the installer is associated. Also make sure that the tfsserver user account<br />

has permissions to write binary files to the output directory; for example,<br />

Debug or Release.<br />

d. Build configuration is incorrect. Make sure that the build configuration<br />

you specify in the exec command exists for your project. For instance,<br />

your project might have "Debug|Any CPU" but not "Debug". You can<br />

check this by looking at the solution properties in Solution Explorer.<br />

4. If the build log does not give you enough information, create an output file for the<br />

exec command and review this log for more information. For example:<br />

<br />

Additional Resources<br />

• For more information, see “Walkthrough: Configuring <strong>Team</strong> <strong>Foundation</strong> Build to<br />

Build a <strong>Visual</strong> <strong>Studio</strong> Setup Project” at http://msdn2.microsoft.com/enus/library/ms404859(VS.80).aspx<br />

How to Create a <strong>Team</strong> Build<br />

You can create a new team build from the <strong>Team</strong> Builds folder in <strong>Team</strong> Explorer.<br />

To create a team build<br />

1. Open <strong>Team</strong> Explorer.<br />

2. Expand the team project for which you want to create a build.<br />

3. Right-click the <strong>Team</strong> Builds folder in the tree.<br />

4. Select New <strong>Team</strong> Build Type…<br />

5. Specify the name of the new team build type and click Next.<br />

6. Select the projects you wish to build, this should include the project that contains<br />

your unit tests.<br />

7. Select a build configuration (e.g. release or debug) and click Next.<br />

8. Specify the name of your build server, e.g. TFSRTM<br />

9. Specify a local build directory on your build server, e.g. c:\builds<br />

10. Specify a drop location for your build output, e.g. \\TFSRTM\NightlyBuilds and<br />

then click Next.<br />

11. Click the Run tests checkbox, select the test list you want to associate <strong>with</strong> the build,<br />

and then click Next.<br />

12. Click Finish to create the team build type.

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

Saved successfully!

Ooh no, something went wrong!