Format:
Recent snippets matching tags of VersionControl
using Microsoft.TeamFoundation.VersionControl.Client; using Microsoft.TeamFoundation.WorkItemTracking.Client; // create a new work item linked to an existing item in version control static void CreateLinkedWorkItem(String teamProject, String workItemType) { using (var tfs = TeamFoundationServerFactory.GetServer(_ServerUri)) { var workItemStore = (WorkItemStore)tfs.GetService(typeof(WorkItemStore));
397 Views
no comments
using Microsoft.TeamFoundation.VersionControl.Client; // query the version control repository for items matching a file specification // set the folder for the root of your search String rootFolder = "$/MyProject"; // construct the set of item specifications you want to search for ItemSpec[] itemSpecs = new ItemSpec[] { new ItemSpec(String.Format("{0}/*.sln", rootFolder), RecursionType.Full), };
207 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
