Browse by Tags
All Tags »
Team Build »
.NET (
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...
Tweet Today one of my customers decide to work with MSTest Unit Test instead of NUnit, he asked me what he need to do to make it happen? There are couple of options to accomplish that": Add Build Extension to Support NUnit run from MSBuild. Create Custom Activity to run NUnit executable Convert the NUnit Syntax to MSBuild Because the customer had nothing special in NUnit and the entire company works in .NET and Team Build we decide to convert the NUnit Tests to MBuild Unit Tests Format. Here...
CodeProject Yesterday (4/6/2010) the Community released 100 Activities / Actions for TFS 2010, here is some of the new activities Download Page Code Quality : CodeMetrics, NUnit, StyleCop Web : Iis7Website,Iis7AppPool,Iis7Binding,Iis7Application Communication : Email Compression : Zip Virtualization HyperV - An activity to perform HyperV operations within a TFS 2010 build Valid Action values are: Start, Shutdown, Turnoff, Pause, Suspend, Restart, Snapshot, ApplyLastSnapshot, ApplyNamedSnapshot VirtualPC...
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...
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...
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...
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...
Creating Skeleton Builds in Teambuild to Publish Test Results Published On: Nagaraju Palla's WebLog There are several requests on how to publish test results to a TFS server without really creating a build. The build entry is a prerequisite for publishing test results, so you will need to create one and also create an associated project configuration against which the test results will be published. You can use TeamBuild web services to do this. Here is a sample: The following sample creates...
How to : Add custom build step messages to TeamBuild process The following sample task illustrates how to add custom build step messages to the build process. using System; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; using Microsoft.TeamFoundation.Client; using Microsoft.TeamFoundation.Build.Proxy; using System.Threading; // This sample references Microsoft.Build.Framework.dll, Microsoft.Build.Utilities.dll, // Microsoft.TeamFoundation.Build.Common.dll, Microsoft.TeamFoundation...
I just uploaded to CodePlex my recent project called Package Maker 2008. I build Package Maker so I can easily Create file package from changesets. Package Maker 2008 version 1.0 works only for Web Projects. http://www.codeplex.com/PackageMaker2008/ Enjoy
10 Steps To Customize Build Numbers The steps that you must follow to customize a Team Foundation Build build definition with a task that generates build numbers. Access to the TFSBuild.proj file of the build definition you want to customize. By default, the TFSBuild.proj file is located in the folder $/ MyTeamProject /TeamBuildTypes/ MyBuildName in Team Foundation source control. A local workspace that contains your team project files and the build files on your local computer. Required Permissions...