teambuild

TEAMBUILD: error MSB4057: The target "GetXapOutputFile" does not exist in the project

I'm getting this error trying to run my Build thru TeamBuild in TeamExplorer on Visual Studio 2008. On the Build Machine I installed VS SP1, Team Explorer, Silverlight 3 tools, and RIA Services. I can compile no problem with Visual Studio on my machine and directly on the Build Machine. But I still cant compile on thru TeamBuild becaus...

What are the cool and interesting things that you do during build-automation?

I am just curious to see what others are doing during build-automation other than usual compile, build, run-tests, etc tasks that might be helpful and inspirational for others to consider and look into such as: Generating code documentation Using code-metrics to measure build quality and fail the build if established metrics are violat...

TFS Team build guide

I am trying to use TFS team build, but can't find any decent startup documents/guides. Can somebody give me some pointers on do's/dont's and maybe a link to a good guide? Thanks! ...

Modular TeamBuilds

I have 3 TFS Builds (2 Dev and 1 Cert). I would like to modularize the builds so I don't have to edit 3 files each time I make a change to the common items. The problem I have is that Only the items in the build folder (under TeamBuildTypes) are automatically retrieved by the Team Build. I can put in code in my build process to get ot...

TFS Build server - CSC : fatal error CS2008: No inputs specified

We get the above error message on our build server, when we build the solution or the specific project that the error refers to. We can build the solution without any problem using visual studio (also on the build server), however it fails with the above error when running msbuild. Any Ideas? ...

Trapping Error Status in MSBuild

As part of some build automation of running xUnit.net tests with MSBuild, I'm running into a case where I need to loop over a batch of items. Inside the loop, I need to detect whether an iteration failed, but I want to continue executing regardless. Then after the batched bit, I need to know whether one or more errors have occurred in ...

ItemGroup Item scope, alternatively "Why does MSBuild hate me?"

I have a solution I'm trying to get to build on TFS. I want to update the versions of all appropriate files, and I've been stuck trying to get this done. There are plenty of links on how to do it, but none of them work for me, due to one little issue... Scope. <?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="DesktopBui...

SDLC Mangement for TFS Build Scripts

I'm in the process of developing several custom build scripts for TFS and I'd like to know if there are any best practices for developing, testing and deploying TFS build scripts. Do you setup development and QC environments that are seperate from the production build server? Are there other ways to isolate the process of developing the...

Running portion of a TeamBuild as x64 [for xunit.net tests]

Using Team Foundation Build, I'm invoking the xunit.net xunit task, which is /platform:AnyCpu, but my TeamBuild invocation of the TFSBuild.proj is vanilla. I have a number of tests that are x64 specific (`/platform:x64'), which choke with an ImageFormatException. I have also a test asembly that's marked x86 so it can't be all or nothing...

Team Foundation Server - How to team build a Team Project but not pull all branches

Currently we have a team project setup like below (in regards to branches) Team Project |__Developement |__Development - Isolated Feature Dev |__Main |__Production The issue that i have, is that when we want to do a team build on the production branch solution, it copies the entire team project...

Sign every executable with authenticode certificate through MSBuild

Hello, I have an authenticode certificate (.pfx) which I use to sign executables. How can I configure Team Build so that it signs every single executable (.exe, .dll, ...) automatically while building the project? ...

how to setup a teambuild

How to Setup a Teambuild, i would like to know process of how the build machine has to setup. any proxy settings? how to integrate the build server to TFS server to do builds? ...

Web Deployment Project Team Build Error

Visual Studio 2008 Web Deployment Project Team Build ASPPARSE Error I seem to have a common problem; one that is showing up but does not have a clear solution. I have a Visual Studio 2008 project structure that contains several projects that are class libraries, a web application project, and a recently added web deployment project. I...

CustomizableOutDir=true breaks MSTest.exe during Team Build

When using CustomizableOutDir, I'm having problems with TFS Team Build firing off MSTest.exe properly. TFSBuild.rsp /verbosity:diagnostic /p:CustomizableOutDir=true TFSBuild.proj (solutions to build snippet) <!-- code --> <SolutionToBuild Include="$(BuildProjectFolderPath)/../../foo.csproj"> <Properties>OutputPath=$(Bi...

Team Build notification break down

I have Team Build set up against multiple branches with multiple solutions in each branch. Currently my notification tels me that the build has broken ina branch but I need to open the build report and drill down to find out which solution failed to build. Is there any way to get a break down of which solution failed in an email or othe...

Building select projects only with Team Foundation Build

I’m trying to set up Team Foundation Build and so far it’s running ok with builds, tests and code analysis. My problem is, that I can’t figure out how to build just a subset of the projects included in the solution. I know how to use the configuration manager to create custom solution configuration that will build/deploy a selection of...

Excluded projects block Team Foundation Build test step

A followup to this question, Building select projects only with Team Foundation Build: I’ve now successfully “isolated” three of the projects in a solution with 20+ projects. One of the three projects is a test project, which contains unit tests for one of the other projects (a class library). Team Build is running fine, just the three ...

Is it possible to dynamically change the workspace paths in a Team Build definition?

We have a dev branch and a main branch--obviously both have the same relative paths. Is it possible to use one build definition across both branches and dynamically change the path in the build definition file? ...

TeamBuild, Code Coverage & testrun config files

Hi I have team build script for CI and nightly builds, both of which runs unit tests with code coverage. I have specified the testrun config file and this include paths for the assemblies to instrument. My problem is, the paths for the assemblies is absolute, eg: <CodeCoverageItem binaryFile="C:\build\Product\PROJECT\Integration\Bin...

Team Build: Cannot find generated private accessor

We have been using TeamBuild and test for our continuous integration build for about 4 months and this issue just popped up the other day in one of our test assemblies when running tests on one of our test assemblies on the build server only. {NameSpace}.Order_Accessor, Version=0.0.0.0, Culture=neutral, PublicKeyToken='{xxx}' or one of ...