Share via


Missing Microsoft.VisualStudio.TestTools.UnitTesting assembly

Question

Thursday, January 3, 2008 10:24 PM

I am trying to compile some code that references:

Code Block

using Microsoft.VisualStudio.TestTools.UnitTesting;

However I receive the error

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

Nornally I go looking for the *.dll and add it manually to my References.  MSDN says that this assembly is part of .NET 2.0 but I do not see it on my machine.

Any suggestions for how I can find and add this reference?

All replies (3)

Tuesday, January 8, 2008 3:44 AM âś…Answered

Yes.

VS 2005 Professional Edition doesn't support Unit Testing.

More features comparison you can find:

Visual Studio 2005 Product Line Overview: http://msdn2.microsoft.com/en-us/vstudio/aa700921.aspx
Visual Studio 2005 Team Editions Comparison: http://msdn2.microsoft.com/en-us/teamsystem/aa718806.aspx

Thanks


Monday, January 7, 2008 4:29 AM

Hi John

 

What is your VS edition?

 

Can you find the references:"Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll"  "Microsoft.VisualStudio.SmartDevice.UnitTestFramework.dll" ?

 

I'm now in VSTS 2005, and it's OK.

 

Thanks


Monday, January 7, 2008 5:26 PM

I have VS 2005 Professional.

 

I do not have those assemblies on my workstation.

 

Are those assemblies only part of Team System edition?