Browse by Tags
All Tags »
Team Build »
TFS Administration (
RSS)
Tweet First, what is the Build Service Host or IBuildServiceHost ? The BuildServiceHost object represent the physical location of the Controller and/or Agent objects. The name property is usually the machine name that the Controller or Agent lives on. In earlier versions, this was simply the Machine Name property on the Agent. Now, I’m working with a customer works with Lab Manager and after upgrading the SCVVM and perform some port changes we faced an issue – The Build Service Host stuck in your...
CodeProject Some news for Visual Studio 2010, I’ll start from several updates you should to apply on you TFS and Visual Studio. KB - TFS 2010 SP1 Cumulative Update 1 – KB2536929 This is the first Update from Microsoft since SP1, and the new concept from Microsoft is to release hot fixes for critical bugs, every once in a while when the development team feels they have critical mass of fixes they will publish new Update includes all hot fixes. – So make sure your Visual Studio and TFS are up to date...
Since 2009 I ‘m writing about TFS API and several people asked to get an index page with all parts related to TFS API, so here is it: Basic TFS API Part 1: Domain Picker TFS API Part 2: Domain Picker Using Registered Servers (Cache) TFS API Part 3: Get Project List Using ICommonStructureService TFS API Part 4: Get TFS User List (Mail, Sid, Account, Domain) TFS API Part 7: Use IEventService To Get User Event Subscriptions TFS API Part 8: Subscribe/Unsubscribe Events Using IEventService TFS API Part...
This is the last of series of 3 about manipulating Build Controllers ( TFS API Part 35 – Create Build Controllers ), Agents and Definitions ( TFS API Part 36 – Create Build Definitions ) and now I’ll complete the series with a demonstration on how to create a new Build and set the Result using TFS API. This can assist you in building Fake definition in order to publish tests or setting a test environment much more easily. Download Demo Project As you can see from the picture above you can define...
In my previous post on TFS API is showed some basic actions for TFS Build API - TFS API Part 34– Build Basic Actions In this series I’ll some some more cool things in Build 2010 API, the first thing is a simple flow on how to get the all build definitions from Team Projects, how to obtain the Build Controller from the definition and how to get the Build Agents available in each Controller. Download Demo Project Than we can move forward to how you can use TFS API to create and delete Build Controllers...
TFS API Part 34– Build Basic Actions In my previous post on on TFS API– Get Build Definitions and Build Details I’ve showed how to obtain Builds Definitions and Builds using TFS API. In this post I' used the same project but I’ve added more functionality to the UI that will allow you to perform more actions on the Build item (Stop, Delete etc). Download Demo Project Step 1: Create Project and Add Reference Create an WPF/WinForm application and add the following references: First add reference...
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 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...
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
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:
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...
How To Create Custom Check-In Policy Create a new Visual C# class library project. Add an assembly reference to System.Windows.Forms.dll . You use this assembly to display message boxes. Add an assembly reference to Microsoft.TeamFoundation.VersionControl.Client.dll. By default, this is installed in the following folder:\Program Files\Visual Studio 2008 Team Foundation Server\Tools Replace your skeleton class code implementation with the following source. Note that the class derives from the PolicyBase...
Top 10 Visual Studio Team System (VSTS) and Team Foundation Server (TFS) Articles You Must Read Published on: http://www.dotnetcurry.com/(X(1)S(eyhx5h45oaagyt452an5ib3b))/ShowArticle.aspx?ID=195&AspxAutoDetectCookieSupport=1 If you have missed on some top articles of Visual Studio Team System (VSTS) and Team Foundation Server (TFS) on dotnetcurry.com, then this is a must read for you. The Top 10 articles have been decided by our editorial panel based on the popularity of the article, user rating...
More Posts
Next page »