Consider the following scenario:
- You upgrade Visual Studio Team System 2008 Team Foundation Server to Microsoft Visual Studio Team Foundation Server 2010.
- You use the Upgrade Template to build a Visual Studio 2008 solution together with a test project in the Team Foundation Build 2010.
In this scenario, no tests are implemented unexpectedly. Additionally, you receive the following error message:
Failed to load tests from 'path of test dll'': Microsoft.VisualStudio.TestTools.Exceptions.InternalException: Could not load file or assembly 'Microsoft.CompactFramework.Build.Tasks, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
This problem occurs because Team Foundation Build 2010 calls the Mstest.exe command from Visual Studio 2010 instead of calling the command from Visual Studio 2008.
A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that this article describes. Apply it only to systems that are experiencing this specific problem.
To resolve this problem, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft website:Note
In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.
You must have Visual Studio Team Foundation Server 2010 installed to apply this hotfix.
You do not have to restart the computer after you apply the hotfix if no instance of Visual Studio is being used.
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
tab in the
Date and Time
item in Control Panel.
Collapse this tableExpand this table
|File name||File version||File size||Date||Time||Platform|
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.