1

While using:

     using Microsoft.VisualStudio.TestTools.UnitTesting

It's giving me an reference error under .VisualStudio. Is this a NuGet Package I need or something. I read that I can go in and get the dll but where would I put the dll in my project. What folder would I add it to?

     Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll
TMan
  • 4,044
  • 18
  • 63
  • 117

1 Answers1

5

You have to add a reference to the dll.

In Solution Explorer, double-click the My Project node for the project.

In the Project Designer, click the References tab.

Click the Add button to open the Add Reference dialog box.

In the Add Reference dialog box, select "Microsoft.VisualStudio.QualityTools.UnitTestFramework", then click OK.

Community
  • 1
  • 1
Raj Ranjhan
  • 3,869
  • 2
  • 19
  • 29