Microsoft.VisualStudio.TestTools.UnitTesting提供错误 [英] Microsoft.VisualStudio.TestTools.UnitTesting Giving Error

查看:104
本文介绍了Microsoft.VisualStudio.TestTools.UnitTesting提供错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用时:

     using Microsoft.VisualStudio.TestTools.UnitTesting

在.VisualStudio下,这给了我一个参考错误.这是我需要的NuGet软件包吗?我读到我可以进入并获取dll,但是将dll放在我的项目中的哪个位置.我要将其添加到哪个文件夹?

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

推荐答案

您必须添加

在解决方案资源管理器中,双击项目的我的项目"节点.

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.

在添加引用"对话框中,选择"Microsoft.VisualStudio.QualityTools.UnitTestFramework",然后单击确定".

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

这篇关于Microsoft.VisualStudio.TestTools.UnitTesting提供错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆