TFS API Part 55– Source Control Get History

Wednesday, September 10, 2014

This post will demonstrate how to retrieve Source Control Items, placing those items into TreeView with dynamic search for children items. Also I'll show how to query Server Item history. Download Demo Project I’ve created WPF Application and added the following assemblies into my project: Microsoft.TeamFoundation.Client Microsoft.TeamFoundation.Common Microsoft.TeamFoundation.VersionControl.Client.dll Microsoft.TeamFoundation.VersionControl.Common Step 1: Connect TFS As always we need to connect TFS before doing anything. public bool Connect() { TeamProjectPicker tpp = new TeamProjectPicker(TeamProjectPickerMode.SingleProject, false); if (tpp.ShowDialog() == System.Windows.Forms.DialogResult.OK && tpp.SelectedProjects.Length > 0) { Tfs = tpp.SelectedTeamProjectCollection; ProjectInfo =...
no comments

Getting Started With Git-TF Tool

Monday, December 31, 2012

Git-TF tool release by Microsoft allowing developers to work locally using Git repository without any connection to TFS, if you wanted to work on your files locally (In case you don’t have internet connection) you had reopen the solution and work offline. TFS 2012 comes with new feature called – Local Workspace allowing developers to work locally on their files but without tracking the changes history – here comes Git-TF tool. Brian Harry’s Blog Distributed Version Control (DVCS) has a growing following. It enables a set of workflows that can be very handy and...

Visual Source Safe Upgrade Tool for Team Foundation Server

Sunday, November 11, 2012

If for some reason you or your company is still using VSS it’s time to move forward! Team Foundation server supports VSS Migration, until today there were a command line tool allowing you to migrate VSS repository to TFS Source Control – this tool is called – VSSConverter. VSSConverter command line tool requires configuration file that need manual authoring, but no More! Microsoft has announce a new wizard based UI tool for upgrading VSS repositories to Team Foundation Server 2012/2010. Open the tool and start the upgrade, choose VSS local repository. ...

The Git Hole

Wednesday, January 25, 2012

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 side in a discussion,...

Team Foundation Server Power Tools December 2011

Friday, December 16, 2011

Tweet Read the full article from Brian’s Harry Download –> Team Foundation Server 2010 Power Tools Power Tools Come to Eclipse We are completely committed to ensuring that developers outside of Visual Studio have great access to TFS and that includes bringing Power Tools to these developers when appropriate.  Today we made a new Power Tool download available as an Eclipse update site. 64-bit MSSCCI Support We also made the one of our most significant updates to the MSSCCI provider for TFS 2010 in...

Integrating RoboHelp with TFS Source Control

Thursday, December 15, 2011

Tweet Yesterday a got a a request from a customer how want to work with TFS Source Control from RoboHelp: Adobe® RoboHelp® 9 software is an easy-to-use solution for technical communicators to author, collaborate, personalize, and optimize content for help systems, policies and procedures, and professional knowledgebases for multichannel, multidevice publishing. This is possible using the MSSCCI provider and some registry changes: Download and Install – MSSCCI  - http://visualstudiogallery.msdn.microsoft.com/bce06506-be38-47a1-9f29-d3937d3d88d6 Registry Add Key “RoboHelp” Under ...

אז מה חדש ב–TFS 11

Tuesday, September 27, 2011

Tweet מהרגע שחזרתי מכנס Build לקוחות שואלים אותי מה מחכה להם בגרסא החדשה של Visual Studio 11 ו – TFS 11? קצת היסטוריה – בעבר חברות רכשו מספר רב של כלים עבור כל תפקיד ייעודי בחברה, לאנשי פיתוח – Visual Studio, לאנשי בדיקות Quality Center ועוד כלים לאוטומציה, מנהלים עבדו עם Excel או MS Project ועוד ועוד כלים, הבעיה שלא היתה אינטגרציה ושיתופיות מלאה בין הכלים, מה שגרם לקשיים לא קטנים בתקשורת ובמעקב אחרי התהליך. ב – 2005 מיקרוסופט הוציאה לאוויר העולם את Team...

Convert NUnit To MSTest Unit Test

Thursday, September 22, 2011

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 is the steps you need to do: Reference You need to change “Nunit.framework.dll” with “Microsoft.VisualStudio.QualityTools.UnitTestFramework”. And change the using from...

TFS API Part 39 – Show Deleted Items in Source Control

Wednesday, August 3, 2011

Tweet I got this questions a lot, if this because lots of my customers working with branches and often they delete those old branches or just because someone delete a folder and you want to see its content. There are two ways to see deleted items from source control, the first is through Visual Studio and the second through TFS API. See Deleted Items In Visual Studio: First open visual studio 2010 and open source control Navigate to –> Tools –> Options –> Source Control –> Visual Studio Team Foundation Server Check the “Show deleted items in the Source Control Explorer” and click OK. Now, you...

Visual Studio ALM Video & Two Updates for TFS/VS You Should Install

Tuesday, June 28, 2011

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. ...