Browse by Tags
All Tags »
.NET (
RSS)
TFS API Part 24 – Get All Fields From TFS I got an email regarding previous post ( TFS API Part 6: WorkItemStore - Get Fields From WorkItemType ) how to get Fields without regard to Work Item Type? This is very easy using Team System API. Download Demo Project Step 1: Create Project and Add Reference Create an WPF/WinForm application and add the following references: Microsoft.TeamFoundation.WorkItemTracking.Client.dll (C:\Program Files (x86)\Microsoft Visual Studio 10.0...
TFS API Part 22 – Create Link Between Work Item (Parent, Child etc…) I got couple of question regarding Custom Link Types in TFS 2010, as you know one of the most important features in 2010 is new Link and Hierarchy capability. In this post I’ll show and give a demo application on how to create custom link type through TFS API. Download Demo Project Step 1: Create Project and Add Reference Create an WPF/WinForm application and add the following references: Microsoft.TeamFoundation...
Expect The Unexpected The Microsoft Developer Platform Marketing team has launched a compelling new worldwide Microsoft® .NET Framework campaign at www.dotnetstories.com . Through online videos and written case studies featuring real developers who built amazing and diverse solutions on the .NET Framework, the campaign is intended to tell a clean and cohesive end-to-end story that is engaging and relevant to the developer community. What a great way to see some of the “ unexpected ” and powerful...
IWin32Window Owner For WPF Window I wrote a Word Plugin in WPF, when raise the window with ShowDialog it’s seems that all Word instances on the computer stucks, even new ones. So I need to open My window just for a specific Word instance. In Windows Form you can write - Form1 .Show( this ); But in WPF you need to use WindowInteropHelper . //Create WPF Window MainUI1 win = new MainUI1 (); WindowInteropHelper helper = new WindowInteropHelper (win); //Find Current Word Process Process...
Free Team System Custom Controls For Every One Team System gives you Work Item with basic features but Team System also gives you the ability to write Custom Controls that will make your Work Item exactly like you want! I wrote lots of Custom Controls and saw many more, I still have the feeling that people have great ideas for new Custom Controls but they don’t know how to do it! You have a good idea for Custom Control? ...
Reading Web Sites Status on IIS with .Net This is some ability I needed for one of my tools. Using DirectoryEntry to get information about IIS Web Sites and AppPools. Code Simple: public WebSiteEntry [] GetWebSites() { string Path = "IIS://" + this .DomainName + "/W3SVC" ; DirectoryEntry root = null ; try { ...
How To: Write Web Access Custom Controls Before you start writing Web Access Custom Control install PowerTools 2008 . After installing TFS PowerTools 2008 open " Work Item Custom Control Reference.doc ". You can find this file in "Program Files\Microsoft Visual Studio 2008 Team System Web Access\Sdk" " Work Item Custom Control Reference.doc " is a full tutorial on how to write Web Access Custom Control. In the same folder you will have a project contains lots of examples...
How To: Write Team System Custom Control In this tutorial I'll show how to create simple Team System Custom Control. Create new project: Add reference to: (Version 9.0.0.0 for Visual Studio 2008) Microsoft.TeamFoundation.WorkItemTracking.Controls Microsoft.TeamFoundation.WorkItemTracking.Client You can find those dll's in C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies Add using using Microsoft.TeamFoundation.WorkItemTracking.Controls; using Microsoft.TeamFoundation...
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 get the login dialog when using the Team Foundation Server API Published On: Buck Hodges Blog Someone asked how to get the login dialog if the user fails to authenticate. The code to do that is shown below. I copied the call to the constructor from the basic API example , and I've added code to create and pass a UICredentialsProvider object to the TeamFoundationServer constructor. Also, I'm now calling EnsureAuthenticated (). The purpose of that call is to make sure that the user is...
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...
Team System – How to Create Custom Extraction Rule [HE] In this screen cast I will show how to create custom Extraction rules with Visual Studio 2008 / 2005. Related Screencasts: 1 - Team System – How to Create Web Test\Coded Web Test - Screencast [HE] 2 - Team System – How to Create Data Binding Web Test - Screencast [HE] Download the Screencast (WMV) Enjoy!
Team System – How to Create Custom Validation Rule Download MyWebTestProject Demo – Custom Validation Rule In this screen cast I will show how to create custom validation rules with Visual Studio 2008 / 2005. Related Screencasts: 1 - Team System – How to Create Web Test\Coded Web Test - Screencast [HE] 2 - Team System – How to Create Data Binding Web Test - Screencast [HE] Download the Screencast (WMV) Enjoy!
Windows Installer XML (WiX) toolset Windows Installer XML (WiX) platform is a set of tools and specifications that allow you to easily create Windows Installer database files (MSI and MSM). The WiX tools model the traditional compile and link model used to create executables from source code. For WiX, source code is written in xml files. These files are validated against a schema, wix.xsd, then processed by a preprocessor, compiler, and linker to create the desired result. The WiX platform has been...
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...
More Posts
Next page »