Browse by Tags
All Tags »
Team Build »
TFS (
RSS)
Tweet I consider myself a calm person with plenty of tolerance, I believe in productive discussion and love it – Part of my job as a consultant is to talk with Teams and explain them why you should choose a specific product over another, in 99.9% of those meetings there is one guy that don’t like the change (No One Like Changes) and you need in a calm way to explain and show him the benefits of the new tool – Forcing someone to do something is never a good thing. But sometimes there is no wining...
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...
In my last post on TFS API I summarize in Index Page include 37 parts - http://blogs.microsoft.co.il/blogs/shair/archive/2011/05/18/tfs-api-index-parts-1-to-37.aspx And I coming back with more about TFS API, and Today about how to create Label using TFS 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 Microsoft.TeamFoundation...
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...
In my last post TFS API Part 35 – Create Build Controllers I showed how to create Build Controllers using TFS API, this can help create a Fake Build and publish test results outside TFS. This post continue the coding from me previous post, and shows how to create or delete Build Definitions under a specific Team Project. Download Demo Project Step 1: Obtain Build Process Templates and Existing Definition from Team Project private void ListDefinitionsTeamProjectSelectionChanged( object...
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...
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
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:
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...
More Posts
Next page »