In Visual Studio 2010 TS beta 1, I cannot reference a project that uses Microsoft.VisualStudio.QualityTools.WebTestFramework.dll
There are two class libraries or test projects:
-Has a reference to Microsoft.VisualStudio.QualityTools.WebTestFramework.dll version 10.0.0.0
-Has a class that uses the WebTestFramework (e.g. WebtestPlugin)
-Has a reference to Project1
-Tries to use some class from Project1
When compiling these projects, Project2 shows compilation errors reporting that the namespaces & classes of Project1 are missing.
And these warnings are displayed:
C:\Windows\Microsoft.NET\Framework\v4.0.20506\Microsoft.Common.targets(1337,9): warning MSB3265: The primary reference "C:\Test\Project1\bin\Debug\Project1.dll" could not be resolved because it has an indirect dependency on the .NET Framework assembly "Microsoft.ShDocVw, Version=8.0.50705.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which has a public key token of "B03F5F7F11D50A3A" and has been located in the GAC or AssemblyFolders search locations. The assembly has been added to an exclusion list. Assemblies with this public key token should not be resolved from the GAC or the Assemblyfolders search locations. If this reference is required change the reference include to a fusion name and set <SpecificVersion> metadata to true.
C:\Windows\Microsoft.NET\Framework\v4.0.20506\Microsoft.Common.targets(1337,9): warning MSB3253: The referenced assembly "C:\Test\Project1\bin\Debug\Project1" could not be resolved because it has a dependency on "Microsoft.ShDocVw, Version=8.0.50705.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is in a generated exclusion list which excludes it from the targeted framework ".NETFramework,Version=v4.0". If this reference is required by your code, you may get compilation errors. If this reference is required change the reference include to a fusion name and set <SpecificVersion> metadata to true.
Retargetting to version framework 2.0 or 3.5 instead of 4.0 does not change anything.
Microsoft.VisualStudio.QualityTools.WebTestFramework.dll version 10.0.0.0 has a reference to Microsoft.ShDocVw
Microsoft.VisualStudio.QualityTools.WebTestFramework.dll uses runtime version 2.0.50727 according to the properties window when selecting the reference. I would expect runtime 4.0.20506 like Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll