FIX: Problems occur in the Create Unit Tests wizard when you create a unit test for a method in a solution that contains a GDR project, a Silverlight project, or a WIX project in Visual Studio 2008 Service Pack 1

Article translations Article translations
Article ID: 962866 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

Consider the following scenario. You open a solution that contains one of the following projects in Microsoft Visual Studio 2008 Service Pack 1:
  • A Microsoft Visual Studio 2008 Team System Database Edition General Distribution Release (GDR) project
  • A Microsoft Silverlight project
  • A Windows Installer XML (WIX) project
Then, you open a source file, right-click a public method, and then select the Create Unit Tests item. In this scenario, the Create Unit Tests wizard starts. However, the following problems occur in the Create Unit Tests wizard:
  • There are no type lists in the Types panel.
  • The Output project list is missing.
  • When you click the Settings button, the wizard closes immediately.
  • The OK button is unavailable.

CAUSE

When some specific projects do not implement the OutputLoc property or some other property, the OutputLoc property or the other property throws a NotImplementedException exception or another exception. Various other properties may throw these exceptions. When no valid information is provided, these projects are marked as projects that have no unit test information.

RESOLUTION

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

To download this hotfix from the MSDN Code Gallery, visit the following Microsoft Web site:
http://code.msdn.microsoft.com/KB962866

Note The MSDN Code Gallery displays the languages for which the hotfix is available. If you do not see your language listed, it is because the Code Gallery resource page is not available for that language.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support

Prerequisites

You must have Visual Studio 2008 Service Pack 1 installed to apply this hotfix.

Restart requirement

You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Microsoft.visualstudio.qua litytools.vsip.dll9.0.30729.4036290,81608-Feb-200902:00x86

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Properties

Article ID: 962866 - Last Review: March 31, 2009 - Revision: 2.0
APPLIES TO
  • Microsoft Visual Studio Team System 2008 Team Suite
  • Microsoft Visual Studio Team System 2008 Test Load Agent
  • Microsoft Visual Studio Team System 2008 Database Edition
  • Microsoft Visual Studio Team System 2008 Architecture Edition
  • Microsoft Visual Studio Team System 2008 Development Edition
  • Microsoft Visual Studio Team System 2008 Test Edition
  • Microsoft Visual Studio 2008 Standard Edition
  • Microsoft Visual Studio 2008 Professional Edition
Keywords: 
kbhotfixserver kbexpertiseadvanced kbqfe kbsurveynew KB962866

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com