Solved

Microsoft.Data.Schema.UnitTesting   namespace not found.

Posted on 2014-11-17
3
632 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
C# Gridview 1 48
DataTables + iCheck + pagination Issue 2 46
Get distinct values from excel or comm seperated file 4 32
VS 2017 18 50
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
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…

828 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