自动引用 Microsoft.Data.Tools.Schema.Sql.UnitTesting [英] Automatic reference to Microsoft.Data.Tools.Schema.Sql.UnitTesting

查看:28
本文介绍了自动引用 Microsoft.Data.Tools.Schema.Sql.UnitTesting的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以下引用将自动添加到我的(控制台应用程序)项目中:

The following references are being automatically added to my (console application) project:

Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll
Microsoft.Data.Tools.Components.dll

我的老板无法在他的机器上打开项目.

My boss can't open the project on his machine.

据我所知,我在项目中没有任何架构单元测试,应该没有理由引用这些.

As far as I know, I don't have any schema unit tests in the project, and there should be no reason for these references.

我该如何解决这个问题?可能是因为我正在运行 SSDT 而我的老板没有?

How can I resolve this? Might it be caused by the fact that I am running SSDT and my boss is not?

更新

可以通过解决方案资源管理器中的 References 节点以及通过 Project Properties -> References -> Unused References... 删除引用,但是当我接下来重新打开解决方案,它们会再次添加回来.

The references can be removed via the References node in Solution Explorer, as well as via Project Properties -> References -> Unused References..., but when I next reopen the solution they are added back again.

这是一个多项目解决方案,但其他项目(WPF 应用程序、2 个类库)都没有添加这些引用.

This is a multi-project solution, but none of the other projects (WPF Application, 2 class libraries) have these added references.

推荐答案

显然这是由 SSDT 引起的,因为当我的老板在他的机器上安装 SSDT 时,他可以毫无问题地打开项目.

Apparently this is being caused by SSDT, because when my boss installed SSDT on his machine he was then able to open the project without any problems.

也许 SSDT 可能会将此视为 SQL 项目,因为该项目中包含许多 SQL 文件.

Perhaps SSDT might be treating this as an SQL project, because there are a number of SQL files included in the project.

这篇关于自动引用 Microsoft.Data.Tools.Schema.Sql.UnitTesting的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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