יום ראשון, יוני 14, 2009
A project I am doing these days requires me to get file history changesets using the API.
Sounds like a simple task right?
Apparently there is not a lot of reference to that in Google, so after almost throwing my computer out of the window (More than once I most admit) I found the answer.
Add the following references to your using list:using Microsoft.TeamFoundation.Client; using Microsoft.TeamFoundation.VersionControl.Client;using System.Collections;using System.Windows.Forms;
The example function is very simple it gets a change and shows message boxes of all the changesets that have a change for the specified file up to the change transferred to the method.
יום חמישי, מאי 1, 2008
I was asked by quite a few people about the proper location of the wicc file and the dll file of the custom control in different versions of Windows. The answer is quite simple. If you add Custom controls for the first time you should remember, Application Data / ProgramData are hidden folders and that some of the folders are to be created by the user. The Location in Windows XP is: TFS 2005: C:\Documents and Settings\All Users\Application Data\Microsoft\Team Foundation\Work Item Tracking\Custom Controls TFS 2008: C:\Documents and Settings\All Users\Application Data\Microsoft\Team Foundation\Work Item Tracking\Custom Controls\9.0 ...
יום שלישי, אוקטובר 16, 2007
Multiple values fields have become a necessity in work items. I noticed a lot of people searching for this readymade field all over the Team System community, in order to enable saving more than 1 value chosen from a drop down list.Here is my suggestion for this kind of a field to be combined in your work item XML template: Linked here is a ZIP file which contains the solution for this custom control.In addition to the code, I included in this ZIP a short READ ME file for explanations with brief instructions of implementation (It is extremely important that you...