team-build

Automated generation of database change scripts

I'm looking for a way to automated the generation of change scripts for our databases. Currently we use Visual Studio 2008 database edition, which has the Schema Compare option, but I don't see a way to automated those actions. What I'd like to do is create an old and a new database during my daily builds and have schema compare gener...

Team Build: The path 'Path' is already mapped in workspace 'workspace' error even after deleting all workspaces on build agent

I have this problem when I queue a build. The build dies with the error The path C:\[Path]\Sources is already mapped in workspace [Server Name]. the same as this question. but I've removed all the workspaces on the build agent by running this command: tf workspaces /remove:* and also by deleting the TFS cache folder. I've also...

Error Compiling Using Team Build

I'm tring to use Team Build to build a solution. On my PC I create a new build using VS2008, it only has 1 solution in it. It's a C++ dll which is compiled in VS2005. I have the build configured to build on our Build server. When I run the build I get the error "error PRJ0050: Failed to register output." When I compile the solution u...

Using Gallio/Mbunit with TFS 2010 Team Build

How do you configure a Team Build 2010 build process template to run MbUnit tests via Gallio? ...

In TFS, is there a maximum amount of workspaces which can be used for a user?

I'm currently in the process of creating a bunch of new build scripts for our platform. Things went okay until I encountered the following error: D:\TFS\WorkingDir\BuildType\TFSBuild.proj(173,5): error MSB4018: Microsoft.TeamFoundation.VersionControl.Client.WorkspaceNotFoundException: TF14061: The workspace BUILDMACHINENAME_9;BUILDMACHI...

How to get MSBuild Exec to run a java program?

I am trying to run a command line action in my Team Build (MSBuild). When I run it on the command line of the build machine it works fine. But when run in the build script I get a "exited with code 3". This is command that I am running: C:\Program Files\Wavelink\Avalanche\PackageBuilder>.\jresdk\bin\java -classpath "WLUtil.jar;WLPac...

Why does Tfs2010 build my Wix project before anything else?

Hi all, A similar question was asked and answered about a year ago, but was either a different issue (everything was in beta) or misdiagnosed. It's located here: http://stackoverflow.com/questions/688162/msbuild-task-fails-because-any-cpu-solution-is-built-out-of-order. My issue is that I have a wix installer project, and after upgradi...

Resources for Customizing TFS Build 2010

I am looking to create a way to build my Legacy Delphi 5 and 6 apps via TFS Build (using TFS 2010). I was fairly dangerous with the MSBuild way of doing things and I think I can still do that, but I would like to get into the Work Flow way of doing it. Are there any resources out there that discuss customizing a TFS Build via Windows W...

Add a build number to TFS 2010

I have a lot of legacy Delphi 5 & 6 Code. We want to test this code using the new Microsoft Test Manager (part of VS2010) To effectively track your testing using this tool you need to use build numbers. To get Delphi 5 or 6 building in TFS Build 2010 is a huge task. One that I am not sure I want to take on. Is there a way I can just...

How can I get TFS 2010 to build each project to a separate directory?

In our project, we'd like to have our TFS build put each project into its own folder under the drop folder, instead of dropping all of the files into one flat structure. To illustrate, we'd like to see something like this: DropFolder/ Foo/ foo.exe Bar/ bar.dll Baz baz.dll This is basically the same question as was as...

TSD03006: Function: [dbo].[clr_function] has an unresolved reference to Assembly [CLRAssembly.SQL]

I'm using GDR2 (VSTS2008) to deploy a sql clr function to a target db (server: sql server 2008) via Team Build. The error is obvious in that the assembly does not exist on the target server. But, based on the documentation (Deploying CLR ) that there is on this topic, I'm assuming that by simply adding a reference to the assembly in the ...

Having problems creating multiple builds in TFS2008

I'm working on setting up multiple builds in TFS2008. In my build agent configuration I can select a working folder. However, every time I run any of my builds, it's using files from that working folder, including the tfsbuild.proj file that it finds there. So now I have builds that half do what I want and half do what is defined in f...

Team Build Reports as "Failed" Even Though All Targets Succeeded

Hi, I've written a custom MSBuild script to be used with Team Build, as I am storing PHP in TFS and of course it isn't compiled. My custom script calls the CoreGet target to get the latest version of the files, and the copies them, ZIPs, them, and FTPs the ZIP archive to a testing server. All of that is working fine. The problem I am...

How can I copy a TFS 2010 Build Definition?

Is there any way to copy a build definition? I work in a mainline source control methodology which utilizes many different branches that live for very short periods (ie. a few days to a week). I'd really like to copy a build template and just change the solution to build. Is there any way to do this? ...

Where is the TFS 2010 "main" build log?

I'm trying to track down some problems with unit tests in a test TFS 2010 build. The overall log file reports an error being returned from MSTest, but the only log files I can find, the log files for the individual projects being compiled, indicate no problems. Where can I locate the "main" log file that is used to generate the build r...

Problem building with MSBuild on Team Build

Hi, I have recently upgraded from TFS2005 to TFS2010 (and sub-sequently the team build server). I used to be able to get a team build on one of my solutions to work pretty easily, (see structure below) Solution |_Web Site | |_Bin | |_Other Files |_Project 1 |_Project 2 |_Project (n) Now, i can no longer get a build working cor...

Is it possible to get the history of changes on a build definition in TFS2010?

It seems odd that the main build definitions would not have a history, but I can't find any mechanisms. Please tell me there is someway to track changes to the build definitions over time. ...

How to get the last build artifact out of the TFS build drop?

Hi, Our existing batch build script contains an URL to get the latest product-build (of another build definition) from. How can one access the lattest build drop folder of TFS Team Build? I'm looking for something to access the latest \buildserver\builddrop\Project-2010MMDD.N\ ...

How to buld selective Projects within a Solution in TS 2008 in Team Build?

Hi all. I have a solution the source Control (TFS 2008) with multiple projects. Some of the projects are independent of each other. I dont want to build the complete solution instead sometimes we need to build some of the projects. I am a total newbie in Team Build. Please help how i can use the <SolutionToBuild Include="$(BuildProje...

How to enable Automatic obfuscation in Team Build using dotfuscator and TFS 2008?

Hi all, I am trying to accomplish Build Automation (Continuous Integration) using TFS 2008 and VS 2008. We have a Web based (.Net) product which contains a number of small and large projects (Some C# and Some Vb.Net based). A source control server is already in place that is being used for version Management(later referred as Data Ti...