Article ID: 982848 - Last Review: July 30, 2010 - Revision: 2.0 FIX: "Failed to load tests from 'path of test dll''' error message when you use the Upgrade Template to build a Visual Studio 2008 solution together with a test project in Visual Studio Team Foundation Server 2010
On This PageSYMPTOMSConsider the following scenario:
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. CAUSEThis 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. RESOLUTIONHotfix informationA 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: http://support.microsoft.com/contactus/?ws=support
(http://support.microsoft.com/contactus/?ws=support)
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.PrerequisitesYou must have Visual Studio Team Foundation Server 2010 installed to apply this hotfix.Restart requirementYou do not have to restart the computer after you apply the hotfix if no instance of Visual Studio is being used.Hotfix replacement informationThis hotfix does not replace any other hotfixes.File informationThe 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 table
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top
