Microsoft small business knowledge base

Article ID: 982848 - Last Review: July 30, 2010 - Revision: 2.0

Hotfix Download Available
View and request hotfix downloads

On This Page


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=, 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.


Hotfix information

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.

Restart requirement

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.

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 has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

  • Microsoft Visual Studio Team Foundation Server 2010
kbhotfixserver kbexpertiseadvanced kbfix kbqfe kbsurveynew KB982848
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support