Amit Pal Amit Pal - 1 year ago 131
C# Question

Where to find "Microsoft.VisualStudio.TestTools.UnitTesting" missing dll?

I am getting following error in my

C# visual studio project

The type or namespace name 'VisualStudio' does
not exist in the namespace 'Microsoft' (are you missing an assembly reference?)

I also tried to find the
file but couldn't get any reference.
Am i searching the wrong


using Microsoft.VisualStudio.TestTools.UnitTesting;
using Kya.MsFx.Services.Swiper;

namespace Kya.MsFx.Devices.Swiper.Test
public class SwiperWindowTest

private SwiperWebServiceHost m_SwiperWS = null;
/// <summary>
/// start web service on a separate thread, so tests
/// can be executed withut blocking the application thread
/// </summary>
public void SetupSwiperTests() {

m_SwiperWS = SwiperWebServiceHost.StartService();


/// <summary>
/// Stop service started during class initialize and kill the thread
/// </summary>
public void CleanupSwiperTests() {

/// <summary>
/// simulate init, swipe, clear operations
/// </summary>
public void TestSwiperService()

copyright kaarya 2010-2012

Answer Source

You have to add reference to


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:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download