index > Team Foundation Server - Build Automation > Converting build process to Team Build

Converting build process to Team Build


Hi all,

In our current build process we use Nant, and have the following configuration:

  • Each solution has an associated build file, that builds only that solution and places the dll in a shared location. Developers run this build file when they have made a change to ensure their modification does not break the build.
  • We then have a master build file, which calls each individual build file (of each solution that make up the program) in order of dependencies to build the full program.

adam99

In this situation I would err on the side of having a build type for each solution to ease the desktop scenario and then have an all encompassing build type that builds all of the solutions which could be used for dailies and/or continuous integration.

William Bartholomew

Thanks William,

An issue that relates to this approach is whether to have a Build Type that is a single entity and builds all the solutions for the program, or a master Build Type that runs a number of "Exec" task to run each individual solution Build Type from the command line in order. The second approach would directly link each individual Build Type to the main build process, and ensure any changes to an solution Build Type will be picked up in the main build. However in such a scenario

adam99

Team Build does not lend itself to the "master" build type approach, so I would counsel against trying to get something like this working - you'll run into lots of headaches. William's idea of simply having a separate build type that includes all of the solutions (rather than driving other build types) is probably your best bet. For the desktop scenario, it might be sufficient to skip the build types altogether and just have developers use VS / MSBuild to build individual solutions... Team Build doesn't do much more than this in a desktop build scenario in any case.

-Aaron




http://blogs.msdn.com/aaronhallberg
Aaron Hallberg
reply 4

You can use google to search for other answers

 

More Articles

TF42056: The build service could not connect .... TF30063: You ar...
best practice regarding version numbers, release names, etc
Adding more events to the build report
Build.aspx and Build.xls Not rendering correctly
MSBuild Project type vs TFS Project type
Check out file with MSBUild and replace with a new version ?
Different size DLLs when building on the server vs Laptop VS buil...
RTM: Build Type running Test List always fails test
Building web applications in Build Server
Missing fields in build data
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

Team Build taking 10-15 minutes to gener…
newbie in build automation.
TFS Explorer default settings...
Stopping Build After First Error For Des…
How to create a master build?
Mixed Platforms is not available
TF42046 when trying to build a build type
Team Build unable to Run Auto Builds now
How to build project's default platform?
Revert bach check in after build fail
Build Succeeded, but no output.
Drop Location Problem with Automated Tes…
Problem in creating the Release Mode Bui…
DLL's build on TFS is different and inco…
RTM: Build Type running Test List alway…

Hot Articles

How to publish (clickonce) a solution
0 error(s), 47 warning(s) --> Failed …
Build errors
Using AdditionalVCOverrides
Automated Build, have trouble building …
Trouble With Web Deployment Project and …
Team Build, TestConfiguration and Deploy…
Web Tests during build fails Http 404 fr…
Making Targets conditional to Debug build
property evaluation order (beta 3)
Missing Build Labels
Build on specific labels
Registering com during build
Overriding a custom property in csproj f…
Wrong value in LastGoodBuildNumber prope…

Recommend Articles

Displaying Code coverage results with au…
Build Task Help
Excluding Specific Projects from a Team …
Getting a project from another Team Proj…
automated unit tests
Multiple .vsmdi files for one build type
BuildType for multiple solutions having …
Team Build and ClickOnce
Problem building Setup Projects with Tea…
Failed to create New Team Build Type
Automated Builds with unit tests require…
Team Build and Wix.Targets
Storing Common Data Between Build Types
Build by Work Items
Recent changes that broke our build