Browse by Tags
All Tags »
Team Build (
RSS)
TFS API Part 33– Get Build Definitions and Build Details Doing some major projects in WF under Team Build 2010 I decide it’s the right time to start writing about Build API in TFS 2010. This part is very very basic and in later posts I’ll show some cool stuff in Build 2010 API. Download Demo Project Step 1: Create Project and Add Reference Create an WPF/WinForm application and add the following references: First add reference for Microsoft.TeamFoundation.dll Microsoft.TeamFoundation.Build.Client...
Building Setup Project In devenv.com Command Line Fails, Works In IDE I started to build a Build Definition in TFS 2010 (WF) for one of my customers and ran into a strange problem with couple of Setup Projects, when I build the Setup Project in Visual Studio 2010 IDE the setup built just fine but once I tried to build it using devenv command it fails.. (To build setup project using Team Build you need to invoke devenv with command line arguments.) The Error from the command line is: ERROR: Unable...
Team Build Service Is Ready But Not Working Today I had a strange problem with Team Build 2010, I have installed Team Build 2010 on a dedicated machine. After the setup finished I saw that Team Build Service had Started and the Controller+ Agents in “Ready” state, but the Icon shows that the Controller and Agent in “Stop” state. I’ve tried to connect Team Build Service from TFS but nothing and ping works , and there is not even one error related to this issue. After couple of minutes I try to change...
How To: Fix error MSB3091 During MSBuild Building Build Script for a customer I got the following error: C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(1756,9): error MSB3091: Task failed because "LC.exe" was not found, or the correct Microsoft Windows SDK is not installed……. It seems like “ LC.EXE ” was not found and I need to install “Microsoft Windows SDK for Server 2008 and .NET Framework 3.5” (Running build on server 2003 machine). “ LC.EXE ” is the License Compiler...
TFS API Part 19: Merge In my last post about TFS API TFS API Part 18: More Basic Stuff On Workspaces I demonstrate how to get / create and delete workspaces. In this post I’ll show how to perform Merge using TFS API . First add reference for Microsoft.TeamFoundation Microsoft.TeamFoundation.Client Microsoft.TeamFoundation.Common.dll Microsoft.TeamFoundation.VersionControl.Client.dll located...
How To Add Check In Policy I know this is something that almost every one knows but some people don’t so here it is: To perform this action you need to be Administrators of Team Foundation version control. Open Team Explorer – Right click on your Team Project –> Team Project Settings – > Source Control Choose “Check-in Policy” tab and add the policies you want. Test your Check-in policy by performing check-in in source control. For additional policies download Team Foundation...
How To Debug MSBuild Projects And Tasks Almost everyone customize their MsBuild scripts for the company needs. But some times because those customization you spend a lot of time try to make this script works as you want. There is no easy way to debug those MSBuild script / Tasks and here is a list of links to help you accomplish this: published by - Buck Hodges - Debug your build with MSBuild Sidekick v2.3 Powerful MSBuild projects debugger with extended functionality: step through mode, visual...
The "BuildShadowTask" task failed When Running tests Team System you got this error - ------------------------------------------------------------------------------------------------------ Error 8 The "BuildShadowTask" task failed unexpectedly. System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.VisualStudio.TestTools.BuildShadowReferences.BuildShadowTask.Execute() at Microsoft.Build.BuildEngine.TaskEngine...
TFS Check-in Validation Tool There is a new version available in CodePlex Project Description The TFS Check-in Validation Tool extends TFS Team Build 2008 by enabling buddy build queuing (pre-checkin), validating checkins using shelvesets, and build agent pooling, all from the VS 2008 IDE. Buddy Build Process Flow
MSBuild Extension Pack 3.5.1.0 Mike Fourie post about the new version Available now - MSBuild Extension Pack 3.5.1.0 If you using Team Build you want to have this Task pack, this will help you make your Builds more advanced. MSBuild Extension Pack 3.5.1.0 which provides over 230 tasks. Also include Visual Studio IntelliSense for all tasks And Online Help.
Team Foundation Build Load Balancer Is a new project published on CodePlex called Team Foundation Build Load Balancer that balances builds between the build agents defined in a Team Project reducing the time developer's wait for builds to complete. It's a very simple tool that you need to run from command-line. Example: You need to pass the Team Foundation Server's URL as the first parameter to TeamBuildLoadBalancer.exe, for example, TeamBuildLoadBalancer.exe http://TFSRTM08:8080/. You...
How To: Get Build List Using TFS API Here is a example how to use TFS API to get Builds List per project. In the next post I'll show how to use GetListOfBuild as a Team Build Task that will help you override BuildNumberOverrideTarget . using Microsoft.TeamFoundation.Build.Proxy; TeamFoundationServer tfs = TeamFoundationServerFactory .GetServer(tfsUrl); BuildStore buildStore = ( BuildStore )tfs.GetService( typeof ( BuildStore )); BuildData [] allBuilds = BuildStore .GetListOfBuilds( TeamProject...
MSBuild Extension Pack New project has recently published on Codeplex - MSBuild Extension Pack Project Description The MSBuild Extension Pack is the successor to the FreeToDev MSBuild Tasks Suite and provides a collection of over 170 MSBuild tasks designed for the .net 3.5 Framework. A high level summary of what the tasks currently cover includes the following:
How To: Add Custom Build Step to TeamBuild with Visual Studio 2008 I get a comment in of my older post How to : Add custom build step messages to TeamBuild process about creating task in Visual Studio 2008 to add custom Build Step. So in Visual Studio 2008 you don't need to create new Task for TeamBuild. You have <BuildStep> tag. Example: <Target Name = "PostBuild" > //Perform XCopy as part of the new Build Step <Exec Command= "XCOPY $(BinariesRoot)\Demo\*.* C:\DeskDemo;...
MSBuild Tasks Library Collection There are over 300 tasks included in this library including tasks for: creating websites, creating application pools, creating ActiveDirectory users, running FxCop, configuring virtual servers, creating zip files, configuring COM+, creating folder shares, installing into the GAC, configuring SQL Server, configuring BizTalk 2004 and BizTalk 2006 etc. SDC Task Library The Suite provides over 160 tasks covering the .Net Framework, BizTalk 2006, IIS7, Team Foundation...
More Posts
« Previous page -
Next page »