Manish Agarwal

How to call a custom target after building each individual solution (sln) in Team Build?

Issue: - I would like to invoke a specific target just after each solution is compiled....

Date: 05/09/2006

Different behavior of StopOnFirstFailure flag with respect to slns and xxprojs in Team Build

Issue - StopOnFirstFailure flag is respected when we are building multiple solutions and find the...

Date: 05/09/2006

Stopping the build after first (compilation) error in team build

Scenario - We are building multiple solutions in our Team Build project file. We want to halt the...

Date: 05/08/2006

FAQ

Is it a good idea to use the same machine as "build machine" and "team foundation server"? It is not...

Date: 04/19/2006

Configuring destop builds for building specific solutions in Team Build

Scenario I have set up a Team Build Type which builds an entire system consisting of multiple...

Date: 04/18/2006

How to get changesets/workitems belonging to a particular sub folder (only)?

Edit the tfsbuild.proj and over ride the label task definition. Do note that changes in Name and...

Date: 04/12/2006

How to customize the drop location in team build?

For eaxmple in your tfsbuild.proj, the value of DropLocation is \machine\drop1 and you want to...

Date: 04/12/2006

custom msbuild task to get changesets and workitems based on AreaPath

Objective of sample task Get all the affected change sets between this build and the previous...

Date: 04/06/2006

Redirecting the copy of output assemblies for individual solutions to specified subfolders at drop site in Team Build

Team Build overrides the output directories that are specified in the individual project files, and...

Date: 03/24/2006

Issues in create the instance of singilton class using reflection in C#

Scenario - I have a public class (named class1) with only internal constructors. Assume this class...

Date: 03/24/2006

Overriding precedence for properties in MSBuild

You can set the value of property in the following manner pass the value in proj/targets file inside...

Date: 03/02/2006

Problem referencing different versions of same assembly in Team Build (issue with file references)

Problem - Build two projects referencing the assembly of same name but of different version fails in...

Date: 02/01/2006

Confusing behavior of MSBuild logger on raising LogError event

Today I found that raising the error message was not enough for the msbuild to stop and invoke the...

Date: 01/27/2006

AT degradation when multiple instances of GenCheckinNotesUpdateWortItem task are happening concurrently ...

Investigation for the observation made in post. "CPU consumption on AT went up to the maximum of 38%...

Date: 01/25/2006

Why GenCheckinNotesUpdateWorkitem task is expensive !!!

Performance data for GenCheckinNotesUpdateWortItem task (all times in ms) 1. For MSTV project (~ 17...

Date: 01/25/2006

GenCheckinNotesUpdateWorkitem task is expensive !!!

GenCheckinNotesUpdateWorkitem task is the most expensive and takes most of the build time. The...

Date: 01/25/2006

What is GenCheckinNotesUpdateWorkitem task?

As a part of the standard build process, we first get the latest sources from the repository, apply...

Date: 01/25/2006

Status@2006.01.22

Now I am a Clockwork Orange

Date: 01/21/2006

AdditionalReferencePath in Team Build

In Team Build, AdditionalReferencePath items (defined in the tfsbuild.proj) are used to specify the...

Date: 01/04/2006

Working with multiple team projects in Team Build

Building solutions that reference to assemblies belonging to different team project Scenario Assume...

Date: 12/22/2005

Easy way of doing customization for all build types in Team Build

What is the best way to override the properties, items and targets defined in Tfsbuild.proj and...

Date: 12/21/2005

Defining common fxcop ruleset for all projects/solutions/configurations

User wants to configure a common set of fxcop rules and use them for all projects/solutions. Does he...

Date: 12/11/2005

Interesting behavior in desktop build ...

Desktop build not stopping immediately on build break ... Details If I am building two solutions...

Date: 12/06/2005

MSbuild tasks to integrate/customize Team Foundation Version Control functionality with Team Build

You can use MSbuild exec task to execute any system command. The task also gives you option to...

Date: 12/06/2005

Workspaces in Team Build

Workspace represents the client side view of the source control repository. When you create new...

Date: 12/02/2005

How to call the same target multiple times at different build stages?

The code sample describes how you can invoke a particular target (i.e. init) multiple times at...

Date: 11/29/2005

Issue with desktop build for VC projects (in Team Build)

Please note that desktop clean for VC projects is not happening in post beta3 bits of Team Build....

Date: 11/15/2005

What is Microsoft.TeamFoundation.Build.targets?

Targets file is any valid MSBuild script that contains the definitions of targets, tasks,...

Date: 11/11/2005

Team Build (MSBuild) build engine

Team Build uses MSBuild to build sources. MSBuild engine runs the build in two passes. The first...

Date: 11/10/2005

Brain dump on CreateNewWorkItem task for Team Build

Lately there have been a lot of questions about CreateNewWorkItem task. Today I will be sharing some...

Date: 10/21/2005

How to make "Team Build" skip getting certain folders?

You have two options Manually edit the WorkspaceMappings.xml file, which is present in...

Date: 10/13/2005

Question on "CoreCompile" target in file Microsoft.TeamFoundation.Build.targets?

Why invoke targets through call to “MSBuild” instead of using DependsOnTargets and dividing up the...

Date: 10/11/2005

Resolving references in Team Build ( Part 3 )

Scenario We have a common project that contains company wide logic that rarely changes and almost...

Date: 10/05/2005

Resolving file references in team build ( Part -2 )

Salient points about file references File reference is used to reference outer system assemblies...

Date: 09/28/2005

Example on how to resolve project to project reference (for single solution) in team build.

Consider a simple solution (OfficeSolution.sln) that has one main project (OfficeSolution.csproj)....

Date: 09/27/2005

Resolving assembly references in Team Build ( Part - 1 )

In this entry I will be discussing about project to project references. I will be enumerating about...

Date: 09/26/2005

Guidelines on structuring solutions and projects in team build

Single solution is best for small size projects. The most scalable and efficient way for managing...

Date: 09/23/2005

How to running multiple tests in team build?

In beta3 you have better control on the way tests are executed. Some common scenarios are:- To run...

Date: 09/22/2005

Team build reported successful build but still some assemblies are missing at drop site?

Question :- I was building 3 projects. The sln and csproj files of the first and thirld project...

Date: 09/19/2005

How to debug build break in Team Build?

Increasing the verbosity of logger Team build invokes logger with normal verbosity. It is done to...

Date: 08/04/2005

Build tips of TeamBuild scripts

MS Build evaluates the condition of the target first and then do the dependency check. For example,...

Date: 07/27/2005

Thought of the day

"Beware of the man who works hard to learn something, learns it, and finds himself no wiser than...

Date: 07/20/2005

CodeAnalysis, FxCop and Team Build

Team Build has a different interpretation for RunCodeAnalysis flag. The standard definition...

Date: 07/14/2005

How to customize the build process in Team Build?

Build process in Team Build is highly extensible. A custom step/task can be introduced at any build...

Date: 07/12/2005

tips for converting build script of managed C++ project to for msbuild

While converting the sources and makefile.inc to .nativeproj file, if you get following error: -...

Date: 07/07/2005

Who am I? What am I doing hear?

Hi guys, this is Manish Agarwal I am Software Design Engineer at Microsoft India Development Center,...

Date: 07/05/2005