Where to find Microsoft.VisualStudio.TestTools.UnitTesting missing dll?
You have to add reference to
Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll
It can be found at C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\PublicAssemblies\
directory (for VS2010 professional or above; .NET Framework 4.0).
or right click on your project and select: Add Reference... > .NET:
Where is the Microsoft.VisualStudio.TestTools.UnitTesting namespace on VS2010?
I just had this problem as well, and with a Microsoft.Data.Schema library as well. The answer is correct, in that these library are on the machine and in the VS 10.0 directory.
The problem (at least for me) was that the solution was converted from VS2008 and the conversion utility targetted the project for .NET 3.5. Since the 10.0 library require .NET 4.0 they are not picked up by the compiler.
The solution is to either revert to use VS2008 where these resolve correctly; or to switch the project to compile for .NET 4.0 so you can use the available libraries.
My Visual Studio is missing Microsoft.VisualStudio.QualityTools.UnitTestFramework
Forget to mark this as solved:
What I did:
Uninstalled VS 2008 and VS2010 including all updates - Installed VS2008 full, VS2010 full Now it works! The cause is still unknown!
using Microsoft.VisualStudio.TestTools.UnitTesting compile error
With Visual Studio 2013 I do the following steps to build the project:
Remove the reference Microsoft.VisualStudio.TestTools.UnitTesting from the project Aga.Control.Unit.Tests
Add the same reference but from this directory C:\Program Files\Microsoft Visual Studio 12.0\Common7\IDE\PublicAssemblies.
Can't find reference to Microsoft.VisualStudio.TestTools.UnitTesting
Sorry got it... I didn't search long enough. The famework changed name for Microsoft.VisualStudio.TestTools.UnitTestFramework
*as of visual studio 2010 I think.
Related Topics
How to Set Attributes Values Using Reflection
Control Another Application Using C#
Complex Models and Partial Views - Model Binding Issue in ASP.NET MVC 3
Providing Input/Subcommands to a Command (Cli) Executed with Ssh.Net Sshclient.Runcommand
Deserialize Specific Enum into System.Enum in JSON.Net
Multiple Aggregates/Repositories in One Transaction
Adding or Subtracting Color from an Image in a Picturebox Using C#
Adding and Removing Users from Active Directory Groups in .Net
What's the Role of Gethashcode in the Iequalitycomparer<T> in .Net
C# Gui Refresh and Async Serial Port Communication
Why Is There Huge Performance Hit in 2048X2048 Versus 2047X2047 Array Multiplication
What Is the Use of Static Constructors
Dbset.Attach(Entity) VS Dbcontext.Entry(Entity).State = Entitystate.Modified