Microsoft.VisualStudio.TestTools.UnitTesting提供错误

编程入门 行业动态 更新时间:2024-10-25 12:27:21
本文介绍了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

推荐答案

您必须添加对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提供错误

本文发布于:2023-11-08 13:32:47,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1569508.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:错误   VisualStudio   Microsoft   UnitTesting   TestTools

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!