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
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.
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.
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:
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:
You must have Visual Studio 2008 Service Pack 1 installed to apply this hotfix.
You do not have to restart the computer after you apply this hotfix.
Hotfix replacement information
This hotfix does not replace any other hotfixes.
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.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
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