How To Change TFS 2010 Attachment Size

Monday, July 18, 2011

CodeProject Here is a post from 2008 on how to change attachment size in TFS 2008, the same concept is available in 2010 but there is a small confusion about 2010. Many people had problems changing the attachment size in TFS 2010 using the same web service because the following error: 500 Internal Server Error There where people who changes the attachment size using code:TeamFoundationServer tfs = TeamFoundationServerFactory.GetServer(@"yourtfsserver/.../DefaultCollection");ITeamFoundationRegistry rw = tfs.GetService<ITeamFoundationRegistry>(); RegistryEntryCollection rc = rw.ReadEntries(@"/Service/WorkItemTracking/Settings/MaxAttachmentSize");RegistryEntry re = new RegistryEntry(@"/Service/WorkItemTracking/Settings/MaxAttachmentSize", "20971520");//20MB        if (rc.Count != 0){        re = rc.First();        re.Value = "20971520";}        rw.WriteEntries(new List<RegistryEntry>() { re }); But the only thing you had to...

Work Item Spell Checker Custom Control for VS 2010

Monday, January 3, 2011

Work Item Spell Checker Custom Control for VS 2010 A long time ago I published a free Work Item Custom Control for Visual Studio 2005/2008 to allow using Spell Check on work item fields. Since Visual Studio 2010 comes with Spell Checker ability I left this project behind, over the last couple of months I got lots of requests from people to adjust this Control to 2010, Today I got a request from a customer that really needs it so here you go. Follow the link below, download the setup file and install in on you...

Microsoft Open Day–Testing in Visual Studio 2010

Thursday, December 30, 2010

Microsoft Open Day–Testing in Visual Studio 2010 Two days a ago I had the honor to give 4 hours lecture on Testing using Visual Studio 2010 in Microsoft Israel for more than 100 people about the entire suite for Testers in Visual Studio 2010, This wasn’t just another overview session but hand zone session on each subject: Microsoft Test Manager – Read More Lab Management– Read More ...

Team Foundation Server 2010 and Project Server Integration Feature Pack is now in Beta

Wednesday, December 8, 2010

Team Foundation Server 2010 and Project Server Integration Feature Pack is now in Beta We at Sela Group already working with a customer working with TFS-PS Feature Pack CTP for Integration between TFS 2010 and Project Server 2010, now all customers can get this support as “Go Live” Beta. I’ve post about VS/TFS 2010 SP1 Beta has Released and Here is another great news from Brian Harry for TFS 2010 and Project Server Users: The TFS-PS Feature Pack is being released to MSDN subscribers today as a “go-live” Beta.  That means Microsoft believe it is ready...

TFS API Part 31 – Working With Queries – Part 2

Thursday, November 18, 2010

TFS API Part 31 – Working With Queries – Part 2 In my last post TFS API Part 30 – Working With Queries I demonstrate a simple API example for getting Queries from TFS 2010, in this sample I’ll show how to run Queries and display the results, Deleting and Creating new Folder using TFS API. Download Demo Project Step 1: Add Results Using WorkItemStore object and call the Query method you can set the results directly to DataGrid. void item_MouseDoubleClick(object sender, MouseButtonEventArgs e){    TreeViewItem item = (TreeViewItem)sender;    QueryDefinition q_def = (QueryDefinition)item.Tag;   ...

TFS API Part 30 – Working With Queries

Wednesday, November 17, 2010

TFS API Part 30 – Working With Queries TFS 2010 comes with new abilities for Queries that allows you to define Hierarchy and Direct Links (Read More - Work Item Relations (Visual)). This is the first post on that subject and this will show how to interact with TFS 2010 Queries – Filter, View and Create New using TFS 2010 API. Download Demo Project Step 1: Create Project and Add Reference Create an WPF/WinForm application and add the following references: using Microsoft.TeamFoundation.Client; using Microsoft.TeamFoundation.Server; ...

TFS 2010 – Red X on Work Items (TF51535)

Sunday, May 23, 2010

TFS 2010 - Red X on Work Items (TF51535) I came across a very strange problem in Visual Studio 2010, for some strange reason one of the Users was unable to view Work Item in just Two project. Yes I’ve check permissions, clean cache and tested on a different computer but the same result each time. Microsoft Test Manager had the same problem and each time I tried to open the “Track” tab I got the following error: I’ve looked at the Window Event log(local machine) for errors but nothing, I checked the...

TFS API Part 24 – Get All Fields From TFS

Tuesday, March 9, 2010

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\Common7\IDE\ReferenceAssemblies\v2.0\Microsoft.TeamFoundation.WorkItemTracking.Client.dll)      Microsoft.TeamFoundation.Client.dll (C:\Program Files (x86)\Microsoft Visual Studio...

TFS API Part 23 – Create Global List (Xml Way)

Monday, March 8, 2010

TFS API Part 23 – Create Global List (Xml Way) 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\Common7\IDE\ReferenceAssemblies\v2.0\Microsoft.TeamFoundation.WorkItemTracking.Client.dll)      Microsoft.TeamFoundation.Client.dll (C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ReferenceAssemblies\v2.0\Microsoft.TeamFoundation.Client.dll) Step 2: Connect to Team Foundation Server TeamProjectPicker tpp = new TeamProjectPicker(TeamProjectPickerMode.NoProject, false); tpp.ShowDialog();   if (tpp.SelectedTeamProjectCollection != null) {...

Microsoft Acquires Teamprise Assets

Tuesday, November 10, 2009

Microsoft Acquires Teamprise Assets “Customers with Visual Studio 2010 Ultimate with MSDN also will receive the Teamprise Client Suite technology as part of their original subscription purchase.” Microsoft Press Release - http://www.microsoft.com/presspass/press/2009/nov09/11-09TeamprisePR.mspx?rss_fdn=Press%20Releases Team Foundation Server, in combination with the Teamprise Client Suite technologies, will enable developers to use a single tool to overcome core development challenges, including version control, work-item tracking, build management, process guidance and business intelligence, regardless of the core platform in use. With the simplification of these important processes, developers will now be able to spend more time focusing on developing high-quality, creative...