Where to Find "Microsoft.Visualstudio.Testtools.Unittesting" Missing Dll

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:
or click 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:

  1. Remove the reference Microsoft.VisualStudio.TestTools.UnitTesting from the project Aga.Control.Unit.Tests

  2. 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



Leave a reply



Submit