Visual Studio Team System (VSTS) Blog - by Neno Loje

Neno's Blog about Team Development and Software Quality with Microsofts ALM platform - since 2005

News

Recent Posts

Community

Tags

Email Notifications

VSTS Blogs

VSTS Sites

VSTS Community

My Other Blogs

German VSTS Websites

Archives

Workaround: Team Explorer window is empty

If this is the case...

20.08

Try...

  1. Make sure Visual Studio is closed (and devenv.exe not in memory anymore)
  2. Run: devenv /setup
  3. Check if it's fixed already. If not, close down VS again.
  4. Run: devenv /resetuserdata

The Team Explorer window should now look like expected again.

(Thanks to Sven Hubert for the screenshot and workaround verification.)

How Microsoft uses Team Foundation Server internally

A good read:

About the technical side:

Update Warning: Security Update for SQL Server 2005 Service Pack 2 (KB948109) might break Reporting Services

Name des Updates und Nummer:

  • Security Update for SQL Server 2005 Service Pack 2 (KB948109)
    version 9.00.3068.00 released on 7/8/2008

Applies to:

  • SQL Server 2005 Service Pack 2 with Reporting Services installed

Symptoms & Result:

  • After installation the SQL Server 2005 Reporting Services service might not start. Therefore the Reporting Services cannot be used anymore.

Distribution:

  • The Update is distributed via Windows Update.

Workaround:

  • Uninstall the update (requires a restart).

My recommendation:
(for your internal SQL server you use for TFS)

  • Do not install the update and wait for the next service pack release.

Related Links:

Visual Studio 2008, .NET 3.5 and TFS 2008 Service Pack 1 released

Service Packs for VSTS/TFS do not only contain bug fixes, but quite a few nice new features as you can read here (more general) and here (TFS-specific).

Download links:

If you have trouble installing SP1 look here and here.

 

Tip #1: Uninstall Visual Studio Hotfixes first

If you previously installed a Visual Studio 2008 Hotfix, you must run the Hotfix Cleanup Utility before installing Visual Studio 2008 SP1. For more information, see Visual Studio 2008 Hotfix Cleanup Utility for Installing Visual Studio 2008 SP1.

RemoveHotfixesFirst

 

Tip #2: Have enough disk space available on your primary hard drive:

RequiredFreeSpace 

You can read here why.

 

Tip #3: If you have Team Explorer or TSWA on your TFS you need to install (Thanks to Hakan Eskici)

Visual Studio 2008 Service Pack 1 and  TFS 2008 Service Pack 1 (in that order!).

 

Tip #4: Integrate installation of TFS and SP1 ("Slipstream")

The steps to produce a so-called "slipstream" installation package are documented in the TFS Installation Guide in the chapter "How to: Integrate the Installation of Team Foundation Server and Service Pack 1".

There are a few reasons why you must do that (e.g. upgrading to SQL Server 2008) you can read in Brian Harry's blog post.

Slipstream_Step2 Slipstream_Step3 Slipstream_Step4 Slipstream_Step5

 

Tip #5: Ignore Windows Update reboot prompt (Thanks to Brian Harray)

If you get a Windows Update prompt to reboot during SP1 installation, ignore it (don't reboot).  Wait until after the SP1 installation completes and then reboot.

 

Tip #6: Uninstall and reinstall Team System for Database Development GDR (Thanks to Brian Harray)

If you have a prerelease of the Team System for Database Development GDR (that supports SQL 2008) installed, you will need to reinstall it after upgrading to SP1.

 

Screenshots from applying TFS 2008 SP1:

TFS2008SP1_Step1 TFS2008SP1_Step2 TFS2008SP1_Step3 

 

Screenshots from applying VS 2008 SP1 (online installer) on at TFS with only Team Explorer installed:

VS2008SP1_Step1 VS2008SP1_Step2 VS2008SP1_Step3 VS2008SP1_Step4

Using images in description fields

Requires:

  • The use of HTML description fields in stead of the default description field.
  • Team System Web Access (TSWA) to insert the pictures.

 

Steps:

  1. Use a HTML fields for your descriptions instead of plan text fields
    (might need to copy the old descriptions programmatically).
  2. Add the image you want to use to the work item's attachments:

    Step1_AddAsAttachement
  3. Save the Work Item.
  4. Double-click your attachment. IE opens. Copy the URL to the attachment to the clipboard.

    Step3_CopyUrl
     
  5. Open the Work Item in Team System Web Access and use the "Insert Images" bottom (from the toolbar within the HTML field):

    Step4_TSWAClickInsertImages
  6. Paste the attachment-URL from clipboard:

    Step5_EnterURL
  7. Save the Work Item.
  8. Done. You can see your picture in the HTML description field.

    TSWA:
    Step6_YouSeeThePicture

    Team Explorer:
    Step8_Voila
Users can see all team projects after upgrading from TFS 2005 to 2008
  1. Make sure all team project members are added to the appropriate groups (Project Administrators, Contributors and Readers).
  2. For every team project remove the "[Server]\Team Foundation Valid Users" group from the team project settings (Team Project Settings » Securty).

    RemoveValidUsers
  3. Done. Regular members now should only see team projects where they have permissions.

 

Enjoy!

Version Control Tip: Excluding specific files from multiple checkout

Question:

Can I define a file name, not only a file type (extension), if multiple checkout is allowed for the whole Team Foundation Server?

Answer:

Yes, that is possible, although the UI shows "file extensions" and displays it in a way that you might think that it's not supported.

As a result you can specify that *.cs files in general do support multiple checkout but a certain file called "specific.cs" follows exclusive-checkout logic.

FileTypes2

 

Enjoy!

-Neno

CVS / StarTeam to TFS migration tools (3rd party)

From their website:

"Timely Migration currently provides modules that support migration from CVS and Borland StarTeam. Support for additional products will be added in the future."

Conversion Diagram

Link to website: Timlely Migration

FIX: TFS 2008: Delete lost when you merge from delete-branch to trunk

> KB article

> Hotfix download

Facts about Running Builds in Parallel with Team Build

TeamBuild

  • can build one build definition from a single Team Project at a time.
  • can build multiple build definitions from different Team Project.

 

MSBuild

 

Thanks Grant for pointing out those facts.

Your TFS user base is growing? Scale up or out!

Are you concerned about performance?

You can scale out by...

 

Or scale up by...

Beware of configuration changes - TFS might not like them

If one of the following action are planned you should ready the appropriate documentation:

Documentation on how to troubleshoot TFS issues
  1. Check the Windows Event Log.
  2. Run TFS Best Practices Analyzer.
    (part of the Power Tools, requires PowerShell to be installed first)
  3. TFS-Team Explorer 2008 Troubleshooting Guide (@ MSDN Forums)
  4. Have a look at the available troubleshooting documentation on MSDN:

    image 
  5. For connection trouble have a look at:
    Troubleshooting connections to TFS
Team Foundation Proxy - Your friend for distributed development teams

Since you can only deploy one master TFS server and replication mechanisms are not supported you might consider using a TFS Proxy server, which caches the downloads from the Team Foudation Version Control.

Functionality / What it does:

Cache downloads from Version Control only. Control Messages and other artifacts like work items are still transferred directly between client (Visual Studio) and server (TFS).

Read more about how the proxy works.

Licensing:

From a licensing perspective the TFS Proxy costs you one (additional) TFS license.

See also: Licensing whitepaper.

Installation

You find the installation files on your TFS CD under Proxy\setup.exe.

After the installation is complete you need to modify the configuration file.

See also: hardware requirements.

More Information (including all links mentioned above):

The Future of VSTS Modeling Tools: UML + DSL

Well if you asked me a year ago if Microsoft is going to deliver UML tools the answer would not been to positive.

As you can read in Cameron Skinner's blog Microsoft changed it's views a bit. It's not anymore about "DSL vs. UML", but a combination of both: "the right tool for the right job".

There will be a clean separation between the two approaches:

  • UML will be used at the high-level modeling ("logical" layer")
  • DSL at the "physical layer"

As a result Microsoft will introduce five UML 2.1 compliant UML diagrams with the next version of VSTS and a few new DSLs. The UML diagrams are:

  • Class Diagram
  • Use Case Diagram
  • Component Diagram
  • Sequence Diagram
  • Activity Diagram

You can have a look at those on these screenshots by MVP colleague Willi.

So Microsoft is not at all moving away from DSL, but recognized the value of UML as an addition and now clearly propagates the value in using a combination of both.

The future is: UML + DSL. The "programmatic approach" as Cameron puts it.

Screen Gallery: Creating a Team Project in TFS 2008

Screenshots from a successful team project creation.

Image-0073

Image-0074

Image-0075

 Image-0076

 Image-0077

 Image-0078

 Image-0079

Screen Gallery: Upgrading WSS 2.0 to WSS 3.0

You updated to TFS 2008, but since the upgrade process doesn't touch your already installed WSS you are responsible for upgrading it yourself.

Official Guidance:

 

Step 1: Run Prescan.EXE

Image-0000

Image-0001

Resulting log file:

Image-0008

Resulting XML file:

Image-0009

Step 2: Install WSS 3.0

Image-0002

Image-0003

Image-0004

Image-0005

Image-0006   

Image-0010

Image-0011

Step 3a: Upgrade (invoked automatically by setup)

Image-0012

Image-0013

Image-0014

Image-0015

(Be aware: if you do not use the same port as your TFS is configured to talk to today you need to change the TFS registration using TFSAdminUtil afterwards!)

Image-0016

Image-0017

Image-0018

Image-0019

Step 3b: Still Upgrade (not in the web browser)

Image-0020

Image-0021

Step 4: Finalization (manual step)

Image-0022

Image-0023

Step 5: Uninstall WSS 2.0 (manual step)

Image-0024

Image-0025

Image-0026

Step 6: Install & configure TFS Extensions for WSS (located on the TFS media)

Image-0030

Image-0031

Image-0032

Image-0033

Image-0034

Step 7: Verify success by creating a new team project

Image-0035

Screen Gallery: Installing TFS Power Tools 2008

Screenshots from a successful Power Tools installation

Step 1: Installing Windows PowerShell

Image-0086

Step 2: Installing TFS Power Tools

Image-0087

Image-0088

Image-0089

Image-0090

Image-0091

Image-0092

Screen Gallery: Installing Team System Web Access (TSWA) 2008

Screenshots of a successful Team System Web Access (TSWA) installation.

Requires: Team Explorer 2008 to be installed.

Image-0060

Image-0061

Image-0062

Image-0063  

Image-0065

Image-0066

Image-0067

Image-0068

Image-0069

Image-0070

Image-0071

Open TSWA to verify it's working:

Image-0072

Image-0080

Screen Gallery: Installing Team Build 2008

Screenshots from a successful Team Build installation

Image-0052

Image-0053

Image-0054

Image-0055

 Image-0056

 Image-0057

 Image-0058

 Image-0059

More Posts Next page »