TFS & Visual Studio ALM – by Neno Loje

(formerly Team System, VSTS)

Entries Tagged as 'TFS Tips and Tricks'

Tip: How to shrink TeamCompanion’s ribbon commands

August 27th, 2009 · No Comments · TFS Clients, TFS Tips and Tricks, VSTS

TeamCompanion, the popular Outlook plug-in for TFS, adds pretty wide command icons to Outlook’s mail window ribbon bar, as you can see here: Before: You can control it using the following registry entry: Key: HKCU\Software\Ekobit\TeamCompanion.Outlook Value: DisplayButtonCaptionsInRibbon (DWORD) must be 0 (= hide captions) After:   Download: TCO_DisableButtonCaptions.zip

[Read more →]

Tags:

Stop SQL Server transaction log (.LDF) files from growing indefinitely

August 9th, 2009 · 6 Comments · TFS Installation and Configuration, TFS Tips and Tricks

Symptoms You notice that in your SQL databases directory the .LDF files are growing permanently. Solution Set the recovery mode of your SQL Server databases to ‘simple’. Step-by-step instructions Perform a full-backup of your SQL Server databases. Note: This is very important since switching from the full or bulk-logged recovery model to the simple recovery […]

[Read more →]

Tags:

See and possibly unlock files checked out by other team members

August 4th, 2009 · 2 Comments · Team Foundation Version Control, TFS Tips and Tricks, VSTS

Ed Hintz points out that this is easily done with TFS Power Tools and wrote about it in 2007. In the Source Control Explorer, right click on a parent folder that contains the pending change and choose, “Find in Source Control”. Choose "Status…". Press the Find button. (optionally you can type in a user and\or […]

[Read more →]

Tags:

Customizing the folders and file extensions automatically excluded

August 4th, 2009 · No Comments · Team Foundation Server, Team Foundation Version Control, TFS Installation and Configuration, TFS Tips and Tricks, VSTS

When adding items to source control a list of excluded folders as well as file extensions is shown. You can customize those defaults in the registry. Matthew Mitrik has the details: If the add operation is successfully completed, the list will be saved to the registry. Order of finding masks to filter: HKCU\Software\Microsoft\VisualStudio\[Version]\TeamFoundation\SourceControl\AddOptions\ExcludeMasks HKLM\Software\Microsoft\VisualStudio\[Version]\TeamFoundation\SourceControl\AddOptions\ExcludeMasks (Thanks […]

[Read more →]

Tags:

Setting Remaining Work to Zero when closing a work item in TFS

July 30th, 2009 · 4 Comments · Team Foundation Server, TFS Process Customization, TFS Tips and Tricks, TFS Work Item Tracking, VSTS

Question: How can I make sure that the "Remaining Work" field is set to 0 when the work item is closed (for example when associating a work item during checking-in)? Short Answer: You can achieve this using the <COPY> rule on the transition to the "Closed" state. Step-by-Step instructions: For the desired transition (in this […]

[Read more →]

Tags:

Disable auto-connect to TFS on VS startup

June 29th, 2009 · No Comments · Team Explorer, Team Foundation Server, TFS Tips and Tricks

When starting Visual Studio it automatically tries to connect to your TFS, which can be very annoying if you work offline. You will probably see: TF30331: Team Explorer could not connect to the Team Foundation server … You can turn this auto-connect behavior off by setting the following files in the registry: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\TeamFoundation "AutoLoadServer" = […]

[Read more →]

Tags:

Naming Restrictions for Team Foundation Server

June 3rd, 2009 · No Comments · Team Foundation Server, TFS 2008, TFS Administration, TFS Tips and Tricks, VSTS

If you ever had questions like: How long is the team project’s name allowed to be? How many levels may an work item area hierarchy have? Which characters are allowed in build type names? What is the maximum supported size for work item attachments? Those are answered by the MSDN topic: Naming Restrictions for Team […]

[Read more →]

Tags:

Setup up an e-mail notification on other user’s check-ins

March 6th, 2009 · 2 Comments · Team Foundation Server, TFS Clients, TFS Project Portal and Team Communication, TFS Tips and Tricks, VSTS

Open Alerts Editor (required TFS Power Tools to be installed locally). Create new alert. Choose “Check-In of a specific file happens”:    Enter a name for the alert subscription, the destination e-mail address, desired team project name ($/Teamproject), if applicable, as well as your account name (to be excluded). The “Filter Expression” (2nd tab) looks […]

[Read more →]

Tags:

Tool for creating direct links to TSWA

March 5th, 2009 · 1 Comment · Downloads, Team System Web Access (TWA), TFS Tips and Tricks, TFS Work Item Tracking, Tools and Utilities, VSTS

Buck Hodges from Microsoft blogged about all the possible links you can construct to point to TSWA pages. For example the following URL opens the Work Item Editor: Open the existing work item with ID 1234: http://mytfs:8090/wi.aspx?id=1234 To make it simple I created a small tool that helps you construct those URLs in an easy […]

[Read more →]

Tags:

Discover users without Visual Studio SP1 installed

February 9th, 2009 · No Comments · Team Foundation Server, TFS 2008 SP1, TFS Administration, TFS Tips and Tricks

Far too often people install Visual Studio SP1 before Team Explorer 2008 and therefore TE remains unpatched in the RTM state. Luckily the ambitious TFS Admin can use the TFS Server Manager from the Power Tools package (TfsServerManager.exe in the Power Tools folder) to find those users without SP1: Check for VS 2008 SP1 from […]

[Read more →]

Tags: