Category Archives: 4391

How to do a clean uninstall of Visual Studio 2012?

Questions

  • How can I easily remove Visual Studio 2012 and all of its components?
  • Is there an install utility for Visual Studio 2012?

Answer:

Yes, the uninstall utility is integrated into VS 2012 setup.

If you want to completely uninstall Visual Studio 2012, you can run VS 2012 setup with the following parameters:

vs_ultimate.exe /uninstall /force

Source: http://support.microsoft.com/kb/2771441/EN-US#Force

–Neno

Where to get Team Explorer from

It can be downloaded from the Microsoft Download Center:

Notes:

  • The “Installer” versions download necessary update files from the internet.
  • (*) = Install the GDR updates if you want to use TFS 2012 or TF Service.

Publishing Requirements from Word to TFS (via WordToTFS)

This post is part of a blog series:

Steps:

  1. Download and install the freeware tool AIT WordToTFS from here (registration required).

    WordToTFS - ClickOnce installation 

  2. Start Microsoft Word (winword.exe). You should see a new "WordToTFS" ribbon.

    WordToTFS - Ribbon

  3. Choose the layout template you want to use (the names correspond to TFS process templates, but it’s possible to furhter customize those layout templates).

    WordToTFS - Choosing the layout template

  4. Once, you are ready to publish, click ‘Connect‘ on the ‘WordToTFS’ ribbon and choose a team project to connect to.

    WordToTFS - Connect to TFS

  5. Start by creating an outline, headlines, introduction text as you would normally do when creating a requirements document in MS Word.

  6. Once you are ready to add a requirement, choose "Empty Product Backlog Item" (in the case of the "Visual Scrum Scrum" template; the name differs for other process template, e.g. "Requirement" in MSF/CMMI or "User Story" for MSF/Agile).

    WordToTFS - Creating a new requirement in the word document

  7. This will insert a table with the typical fields to describe a requirement. Replace ‘Title’ and ‘Description’ with appropriate values (you can edit those defaults by clicking "Edit Default Values" on the ribbon).

    WordToTFS - Requirement according to the selected layout template

  8. Repeat Steps 5 to 7 for additional requirements.

  9. Once you’re happy with your requirement(s), click ‘Publish‘ in the ‘WordToTFS’ ribbon.

    WordToTFS - Publish 

    WordToTFS - Saving work items in TFS


    WordToTFS - Publishing results
  10. The work item is now created in TFS.
    After publishing the requirement table looks smilar to this:

    WordToTFS - Default work item layout in MS Word 

Notes:

  • Keep in sync: After initially publishing your work items you can either change those in MS Word and re-publish those changes, or change the work items with a different TFS client and click ‘Refresh’ on the ‘WordToTFS’ ribbon to import those changes into your MS Word document.

    WordToTFS - Keeping your document in sync using Refresh 

  • Images: You can insert images in the description field (if the process template is using an HTML-based field) and those will be updated as attachments:

    SupportForImages
  • Test Cases with Test steps: You can enter a numbered list of steps for a Test Case, which will be translated to test steps (as they are required by Microsoft Test Manager):

    SupportTestCases01

    SupportTestCases02

Disclaimer: This MS Word integration is not part of Visual Studio or Team Foundation Server. The plug-in was developed by a Microsoft Partner (AIT) and not by Microsoft itself.

Exporting TFS Work Items to Microsoft Word (via WordToTFS)

This post is part of a blog series:

Steps:

  1. Download and install the freeware tool AIT WordToTFS from here (registration required).


    WordToTFS - ClickOnce installation

  2. Start Microsoft Word (winword.exe). You should see a new "WordToTFS" ribbon.


    WordToTFS - Ribbon 

  3. Choose the layout template you want to use (the names correspond to TFS process templates, but it’s possible to furhter customize those layout templates).


    image_thumb4 

  4. Click ‘Connect‘ on the ‘WordToTFS’ ribbon and choose a team project to connect to.


    WordToTFS - Connect to TFS 

    If the "missing mapping fields" dialog appears, you probably choose the wrong layout template (you can still change it before the next steps). 

  5. Click ‘Get Work Items" from the ribbon.

  6. On the ‘Get Work Items’ pane to the ride, select a stored query.

    WordToTFS - Get Work Items

  7. Click on ‘Find‘ button.
    Optionally, deselect work items in the list if you want to exclude them.

  8. Click on ‘Import‘ button.


    WordToTFS - Importing Work Items


    WordToTFS - Work Items in an MS Word document
  9. Enjoy!

 

Disclaimer: This MS Word integration is not part of Visual Studio or Team Foundation Server. The plug-in was developed by a Microsoft Partner (AIT) and not by Microsoft itself.

Update for TFS 2010 (RTM version) including all hot fixes

Get your TFS current: All hotfixes bundled in one updateMicrosoft released an update (KB 983578) for:

  • Team Foundation Server 2010
  • All Team Foundation Server 2010 clients (aka Team Explorer)

It’s the same update package that will update the client and server components.

What’s in that upgrade?

According to Brian Harry and the KB article:

Enables Visual Studio 2010 Lab Management functionality

  • Improves performance for Lab Management Workflow Wizard.
  • Improves performance for running automated test cases on Network Isolated Lab environments.
  • Fixes an issue in which a Test Controller service account that is the same as a Lab Service account causes issues with environment capabilities.
  • There is a new Expression Encoder 4.0 based Video Diagnostic data adapter to collect video recording when you perform tests. This diagnostic adapter replaces the Windows Media Encoder base video diagnostic adapter.
Install/Upgrade
  • Labels created in TFS2008 do not contain items after migration to TFS 2010 under certain rename/delete conditions.
  • TFS Cannot be re-installed (ATOnly) targeting a database that was patched before.
  • Tfs2010Beta2ToRTM operation is not executed when RC database is upgraded by post RTM server (RTM + Patch1 or SP1).
TFS Build
  • VS2008 “smart device” projects pick up the 2010 MSTEST rather than the 2008 one.
  • Unavailable build agents are pinged indefinitely rather than giving up after an hour.
  • Duplicate changeset listings in build report.
  • Test results for VS2008 solution not published in case of a failed test.
  • Cannot delete build drops if a controller goes down
  • Open Process File Location” grayed out on menu- right click on a build definition when connected to a TFS 2008 server
Version Control
  • Branch from label has been removed in TFS 2010 – now it’s back.
  • Convert folder to branch on a hierarchy root folder with children and cycle renames crashes VS.
  • Unshelve reports bogus errors about a null DownloadUrl when dependent renames are shelved and child item names overlap.
  • Incorrect query plan on QueryPendingChanges when querying all users pending changes can lead to bad performance.
  • merge /discard in both directions causes unnecessary “empty” merges in future merge attempts.
  • Issue in merge causes a conflict not to be generated when there is a rename in the target and source.
  • Overly aggressive automatic detection of file encoding can result in inappropriate encoding mismatches during merges.
Work Item Tracking
  • Work item queries containing references to deleted fields can cause a red X on the work items node.
Team Web Access
  • Firefox Browser: "Link Selected Items to a New Work Item" and other dialogs don’t launch pages successfully
  • Chrome Browser: Adding an attachment doesn’t work
  • Chrome Browser: Select Query Dropdown doesn’t work in Choose Work Items window
  • Chrome Browser: Retain/Delete a build in Build Report page will get an exception “Unexpected callback response”
  • Query Picker Web Part Incorrectly Renders List Items (Rows) in List View (Overflow DIVs) within WebKit-based Browsers (including Safari, Chrome, etc)

Where should I apply the upgrade?

TFS component: Applies to:
TFS Application Tier Yes
TFS Data Tier (SQL Server) No
Team Explorer 2010 Yes
Visual Studio 2010 Yes
Visual Studio 2005/2008 No
Microsoft Test Manager (MTM) Yes
TFS Build Controller Yes
TFS Build Agent Yes
TFS Test Controller Yes
TFS Test Agent Yes
TFS Lab Agent Yes
System Center Virtual Machine Manager (SCVMM) No
SQL Server Reporting Services No
SQL Server Analysis Services No
SharePoint/WSS No

Download the update package now.

Frequently asked questions

  • Should I install the update although I do not use Lab Management?
    Yes, it contains all TFS fixes that have been made since TFS 2010.
  • Is this a Service Pack?
    No.
  • If I reinstall or add TFS components later, do I have to reapply this patch?
    Yes.
  • Should I stop TFS service prior to installing?
    No, this is not necessary and will be done automatically by the update.

Updating Visual Studio 2008 in order to work with TFS 2010

The update for VS2008, called General Distribution Release (GDR), allows you to:

“The GDR enables teams to use TFS 2010 even if part of the team uses the 2008 client. Some new functions will require the 2010 client. However, the GDR lets you use the 2010 server to perform the same functions that you were able to perform in the 2008 client.”

Download: http://www.microsoft.com/downloads/details.aspx?FamilyID=CF13EA45-D17B-4EDC-8E6C-6C5B208EC54D

Further information

Unsupported scenarios in VS/Team Explorer 2008 when working against a TFS 2010
(found here)

  • Creating new team projects
  • Destroying Work Items or Work Item Type and Renaming Work Item Type,
  • Uploading Process Templates
  • Uploading Work Item Definitions
  • Uploading TFS Field Mapping for Microsoft Project