tfsbuild

How do I change the build directory that MSBuild uses under Team Foundation Build?

I'm getting the following error when trying to build my app using Team Foundation Build: C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(1682,9): error MSB3554: Cannot write to the output file "obj\Release\Company.Redacted.BlahBlah.Localization.Subsystems. Startup_Shutdown_Processing.StartupShutdownProcessingMessag...

How does replication in team foundation server work.

We have two offices in different states and issues with performance when using integrated source control over the WAN. We were contemplating using replication in TFS to allow both office to have fast and robust connectivity. We need to understand network load, speed of access, how conflicts are managed. ...

How can I disable work item creation at the end of a failed Team Foundation Build?

I'm using Team Foundation Build but we aren't yet using TFS for problem tracking, so I would like to disable the work item creation on a failed build. Is there any way to do this? I tried commenting out the work item info in the TFSBuild.proj file for the build type but that didn't do the trick. ...

webtest, web application projects, and tfsbuild

I have a web application project (wap) that is successfully being deployed to a development server by our tfsbuild server. I'd like the build server to run our collection of webtests after deployment. What is a best practice (or ANY practice) for doing this? ...

MSBuild: How can I force ProjectReference to search elsewhere for an assembly?

We have a large number of Visual Studio Solutions that contain the same shared 15 projects, and most solutions only differ by a web application. I'm trying to consolidate everything into a single build that builds the shared projects only once, then have the web application projects reference the output shared assemblies. I'm finding t...

MS Access Project In TFS Build

Hi All, I have a question for all of you and please any ideas are welcome. We have alot of MSAccess database projects in our repository on which developers work and do there tests in Dev Envoirment on there own. As you all know compiling a databse project is itself a wrong statement, cause you actually need to test your scritps and repo...

How should I refer to Team Foundation Server builds?

I am building a release of my project using tfs build which generates a unique identity for the build in tfs build explorer such as "MyProject_20090122.1" indicating that this is the first build on 2009-01-22. However this is my release 1.0.0 of MyProject. Is there a way to connect the two identifiers or do I have to maintain the mapping...

Msbuild task - Build fails because one solution being built in release instead of debug

I'm hitting a weird issue with msbuild, and I'm thinking it might just be an environment issue. We're using msbuild to build a number of separate solutions, and it seems to work on my machine. But on a couple other machines, it's not working. I've tracked down the issue, and it looks like one of the solutions (or one of the projects i...

TFS build, which file do I add my custom tasks too?

Hi, New to TFS build. I am looking at the .proj file right now, and I see it references the microsoft.teamfoundation.build.targets file. Which file do I add my custom tasks too? And where is that file located (if its not the .proj file). I want to add a custom task to run dotfuscator (command line tool) and pass it a .xml file as a ...

How to send a custom email containing TFS Build status

I'd like to send a custom build status email during or after the TFS build, but it doesn't look like the actual compilation status, etc. is known until after the entire process ends. Does anyone know of a way to send a custom email (other than the built-in alert email) that has the true build status? ...

Do I have to use a solution file with a Team Build definition?

Our application uses a combination of ASP.NET and Flex platforms. I am able to successfully use the build service to build and deploy the .NET web site. That works fine. However, we also have our ActionScript files in TFS and I've created a batch file to successfully compile the ActionScript from the command-line. I want to create two ...

Does anybody have a concise document/wiki on best practices around using msbuild and tfsbuild in an enterprise

I'm a newbie to msbuild and tfsbuild and I would like to setup the automated build system. I have multiple teams (set up as TFS projects), each with their own products ,. each product consisting of many features (think business layer, gui, tooling as separate features). I need a concise / high-level documentation on msbuild and tfsbuil...

ASP.NET MVC 1.0 AfterBuilding Views fails on TFS Build

I've upgraded from ASP.NET MVC Beta to 1.0 and did the following changes to the MVC project (as descibed in the RC release notes): <Project ...> ... <MvcBuildViews>true</MvcBuildViews> ... <Target Name="AfterBuild" Condition="'$(MvcBuildViews)'=='true'"> <AspNetCompiler VirtualPath="temp" PhysicalPath="$(ProjectDir)\..\$(Pro...

Does Visual Studio need to be installed on the TFS build server?

We recently moved to Team Foundation Server 2008 from Source Safe. We are setting up some automated builds and have run into some issues with the publish of click once apps that seem to require additional installs on the build server. I've seen posts that indicate that the Visual Studio IDE needs to be installed. I've also seen posts t...

Pass a value from TeamBuild to MSBuild

I have a build that is running in TFS TeamBuild. I want to pass a property from that to the MSBuild that is run for each Project built by the TFSBuild.proj. Example: TFSBuild.proj <PropertyGroup> <Version>0.0.0.0</Version> </PropertyGroup> <Target Name="BuildNumberOverrideTarget" DependsOnTargets="AfterInitializeWorkspac...

Could not get dependencies for project reference

I have a C# solution with a website project and a C# library. When compiling the solution, the website gives the message: Could not get dependencies for project reference 'MyLibrary'. This does not stop the wbsite compiling and running until I try and build it with a TFS build, when this error message fails the build. What does this m...

Running MSTest with tests against different databases

Hello guys, I would like to ask what is the best way to execute a setup like the following: We have tests suite that is compiled, and in the app.config file I have 6-7 different connection strings to different databases. I would like to run the tests suite against every connection, and I hoped to parametrize in some way this process - so...

What is/are the difference(s) between MSBuild and TFSBuild

Background: We have a TFS server setup where me manage our source code and track work items and bugs. We also have CC.Net setup to help us do CI (mostly just build and run unit tests). We use .net framework 3.5 and VS 2008 I am familiar with MSBuild and use it in our current project to accomplish many pre-deployment and deployment tasks...

TFS: Stop Team Build process has updated the Fixed In field messages

We have an interesting situation. Our build server seems to want to go back to previously closed work items and update the Integration Build field. I understand the build server setting it the first time. I could even understand it updating that field in the event that the first build didn't complete successfully. However, I can'...

TFS Build SourceTfs.Checkout

I am trying to get my build to checkout some files (using Microsoft.Sdc.Common.tasks) and then to check them in after the build has finished. But I can't seem to get this working at all, let alone before and after the build. Whaereabouts should this sort of code live? <?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Desk...