Sign In
Manish Agarwal
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
No tags have been created or used yet.
Archive
Archives
May 2006
(3)
April 2006
(5)
March 2006
(3)
February 2006
(1)
January 2006
(7)
December 2005
(6)
November 2005
(4)
October 2005
(4)
September 2005
(6)
August 2005
(1)
July 2005
(6)
MSDN Blogs
>
Manish Agarwal
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Manish Agarwal
How to call a custom target after building each individual solution (sln) in Team Build?
Posted
over 6 years ago
by
ManishAgarwal
8
Comments
Issue : - I would like to invoke a specific target just after each solution is compiled. Unfortunately, team build performs a build including all solution in an atomic MSBuild call. I don’t want to make changes in my sln or csproj files but I am OK...
Manish Agarwal
Different behavior of StopOnFirstFailure flag with respect to slns and xxprojs in Team Build
Posted
over 6 years ago
by
ManishAgarwal
1
Comments
Issue - StopOnFirstFailure flag is respected when we are building multiple solutions and find the error in 1 st solution and stop building the rest of solutions. However when we have a scenario where a solution contains multiple projects (csproj’s...
Manish Agarwal
Stopping the build after first (compilation) error in team build
Posted
over 6 years ago
by
ManishAgarwal
6
Comments
Scenario - We are building multiple solutions in our Team Build project file. We want to halt the build when the first compile error is encountered. Answer – If you are building multiple solutions (sln's) and you encounter error in any...
Manish Agarwal
FAQ
Posted
over 6 years ago
by
ManishAgarwal
0
Comments
Is it a good idea to use the same machine as "build machine" and "team foundation server"? It is not a good idea to make Team Foundation Server machine as build machine for real life deployment (ok for demos/trials etc). The main reason is for debugging...
Manish Agarwal
Configuring destop builds for building specific solutions in Team Build
Posted
over 6 years ago
by
ManishAgarwal
4
Comments
Scenario I have set up a Team Build Type which builds an entire system consisting of multiple solutions. I want an easy way for developers to be able to invoke builds on there dev machines (for only the solutions they are working on) using Team Build...
Manish Agarwal
How to get changesets/workitems belonging to a particular sub folder (only)?
Posted
over 6 years ago
by
ManishAgarwal
3
Comments
Edit the tfsbuild.proj and over ride the label task definition. Do note that changes in Name and Files argument. The Files attribute is used to define the scope of labels incase it is disjoint. Name of the label now contains the explicit scope. Initialize...
Manish Agarwal
How to customize the drop location in team build?
Posted
over 6 years ago
by
ManishAgarwal
3
Comments
For eaxmple in your tfsbuild.proj, the value of DropLocation is \\machine\drop1 and you want to change it to \\machine\drop2 . Edit your build type definition (tfsbuild.proj) file and overload the BeforeEndToEndIteration < Target Name ...
Manish Agarwal
custom msbuild task to get changesets and workitems based on AreaPath
Posted
over 6 years ago
by
ManishAgarwal
10
Comments
Objective of sample task Get all the affected change sets between this build and the previous successful build that has the work items with Area Path according to input parameter specified in the .proj file. You need to make the following...
Manish Agarwal
Redirecting the copy of output assemblies for individual solutions to specified subfolders at drop site in Team Build
Posted
over 6 years ago
by
ManishAgarwal
9
Comments
Team Build overrides the output directories that are specified in the individual project files, and thus places all build output at $(BinariesRoot)\$(Platfom)\$(Configuration)\ Is there a way disable copying the assemblies at drop site? Yes...
Manish Agarwal
Issues in create the instance of singilton class using reflection in C#
Posted
over 6 years ago
by
ManishAgarwal
6
Comments
Scenario - I have a public class (named class1) with only internal constructors. Assume this class exists in assembly class1.dll. Now I want to create the instance of class1 inside another public class (named class2) that exist in another assembly...
Manish Agarwal
Overriding precedence for properties in MSBuild
Posted
over 6 years ago
by
ManishAgarwal
4
Comments
You can set the value of property in the following manner pass the value in proj/targets file inside PropertyGroup tag pass the value in the msbuild command line using /p switch pass the value of the property in rsp file using /property...
Manish Agarwal
Problem referencing different versions of same assembly in Team Build (issue with file references)
Posted
over 6 years ago
by
ManishAgarwal
5
Comments
Problem - Build two projects referencing the assembly of same name but of different version fails in Team Build Scenario - Consider two projects (Proj1 and Proj2) that refer to the same assembly (lib.dll) of different versions (1.0.0.0 and 2.0.0.0...
Manish Agarwal
Confusing behavior of MSBuild logger on raising LogError event
Posted
over 6 years ago
by
ManishAgarwal
3
Comments
Today I found that raising the error message was not enough for the msbuild to stop and invoke the targets specified by OnError tag. For example in the given sample - Custom task:- MSBuildTask.dll namespace MSBuildTask { public class...
Manish Agarwal
AT degradation when multiple instances of GenCheckinNotesUpdateWortItem task are happening concurrently ...
Posted
over 6 years ago
by
ManishAgarwal
0
Comments
Investigation for the observation made in post . " CPU consumption on AT went up to the maximum of 38% (w3wp.exe) while the GenCheckinNotesUpdateWorkitem task was executing on the build machine." Case 1 - 3 msbuild processes in separate window...
Manish Agarwal
Why GenCheckinNotesUpdateWorkitem task is expensive !!!
Posted
over 6 years ago
by
ManishAgarwal
0
Comments
Performance data for GenCheckinNotesUpdateWortItem task (all times in ms) 1. For MSTV project (~ 17 MB) a. Failed 1 st build - Time in Task – 110848 QueryLabel – 990 AnalyzeChangeset – 105870 QueryHistory – 105800 UpdateWorkItem ...
Manish Agarwal
GenCheckinNotesUpdateWorkitem task is expensive !!!
Posted
over 6 years ago
by
ManishAgarwal
6
Comments
GenCheckinNotesUpdateWorkitem task is the most expensive and takes most of the build time. The problem is worst when you launched the build for the first time for a new build type. Why? What can be done about it? Some statistics related to builds in...
Manish Agarwal
What is GenCheckinNotesUpdateWorkitem task?
Posted
over 6 years ago
by
ManishAgarwal
5
Comments
As a part of the standard build process, we first get the latest sources from the repository, apply the label, build, get the checkin details between last successful build and current build (change sets) and the work items that were resolved by these...
Manish Agarwal
Status@2006.01.22
Posted
over 6 years ago
by
ManishAgarwal
0
Comments
Now I am a Clockwork Orange
Manish Agarwal
AdditionalReferencePath in Team Build
Posted
over 6 years ago
by
ManishAgarwal
0
Comments
In Team Build, AdditionalReferencePath items (defined in the tfsbuild.proj) are used to specify the reference paths for resolving the external references. They are similar to HintPath. For example you can specify the lookup folder (C:\Common\Binaries...
Manish Agarwal
Working with multiple team projects in Team Build
Posted
over 7 years ago
by
ManishAgarwal
18
Comments
Building solutions that reference to assemblies belonging to different team project Scenario Assume that we two projects (ConsoleApplication1 and ConsoleApplication2) under team project (TP1) and they are using the assembly (commonlibrary...
Manish Agarwal
Easy way of doing customization for all build types in Team Build
Posted
over 7 years ago
by
ManishAgarwal
0
Comments
What is the best way to override the properties, items and targets defined in Tfsbuild.proj and Microsoft.TeamFoundation.Build.targets file? Additional how to pull all the customizations out of specific build type (Tfsbuild.proj) and make it available...
Manish Agarwal
Defining common fxcop ruleset for all projects/solutions/configurations
Posted
over 7 years ago
by
ManishAgarwal
6
Comments
User wants to configure a common set of fxcop rules and use them for all projects/solutions. Does he need to configure the common set for every new project/solution/configuration? No. User need to override the "CodeAnalysisRules" property to include...
Manish Agarwal
Interesting behavior in desktop build ...
Posted
over 7 years ago
by
ManishAgarwal
0
Comments
Desktop build not stopping immediately on build break ... Details If I am building two solutions sln1 and sln2 for two configuration debug|x86 and release|x86 and there is a compiler error in sln1. The build process tries to build sln1 (for...
Manish Agarwal
MSbuild tasks to integrate/customize Team Foundation Version Control functionality with Team Build
Posted
over 7 years ago
by
ManishAgarwal
7
Comments
You can use MSbuild exec task to execute any system command. The task also gives you option to specify the working folder from where to execute the command. This is useful for the scenarios where you want to run a tool from specific location. Do note...
Manish Agarwal
Workspaces in Team Build
Posted
over 7 years ago
by
ManishAgarwal
0
Comments
Workspace represents the client side view of the source control repository. When you create new build type using wizard, you have the option of selecting the template workspace. This implies that you want to have the same view of repository as defined...
Page 1 of 2 (46 items)
1
2