[英]Microsoft.VisualStudio.TestTools.UnitTesting Giving Error
While using: 使用时:
using Microsoft.VisualStudio.TestTools.UnitTesting
It's giving me an reference error under .VisualStudio. 这给了我.VisualStudio下的参考错误。 Is this a NuGet Package I need or something.
这是我需要的NuGet软件包吗? I read that I can go in and get the dll but where would I put the dll in my project.
我读到我可以进入并获取dll,但是将dll放在我的项目中的哪个位置。 What folder would I add it to?
我将其添加到哪个文件夹?
Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll
You have to add a reference to the dll. 您必须添加对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.
在“添加引用”对话框中,选择“ Microsoft.VisualStudio.QualityTools.UnitTestFramework”,然后单击“确定”。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.