Solved

Microsoft.Data.Schema.UnitTesting   namespace not found.

Posted on 2014-11-17
3
605 Views
Last Modified: 2014-11-19
I've just set up VS 2013 Premium and loaded the code.  When I build it, I get errors that namespace is not found for Microsoft.Data.Schema.UnitTesting and Microsoft.Data.Schema.UnitTesting.Conditions.  I can't find a reference or dll for these namespaces on my desktop.
0
Comment
Question by:pynesr
  • 2
3 Comments
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 total points
ID: 40450519
I would have assumed that the issue is with the version of Visual Studio that you are using.  I believe that database unit testing comes with Premium and Ultimate, so that is not the issue.  I believe that those namespaces are for an old version, and the code is in the Microsoft.VisualStudio.QualityTools.UnitTestFramework namespace now.  I would remove the using statements, and see if the code compiles, and then try to fix the references.
0
 

Author Closing Comment

by:pynesr
ID: 40452494
The dlls were in VS 2010 so I copied them over and it compiled.
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 40452550
I would have thought that copying the files would not have been required.  Did you look at the  Microsoft.VisualStudio.QualityTools.UnitTestFramework namespace before you copied the files?
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

774 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question