我应该在生产服务器上安装Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll吗?

时间:2016-03-16 14:21:37

标签: c# wpf dll install

我创建了一个WPF项目,其中dll "Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll"被引用为引用程序集(实际上我没有使用它,默认情况下我在引用linq2db dll时安装)。

当我在生产服务器上安装我的程序时,它会给我一条错误消息:

Unable to install or run the application requires that assembly microsoft.data.schema.sql.unittesting version 12.0.0.0 be installed in the global assembly cache (GAC) first.

我已经从项目中删除了dll,重新构建并部署了它,但我仍然遇到了同样的错误。有什么想法吗?

如何使用代码在.dll中安装此GAC? 我应该使用代码在.dll中安装此GAC吗?

0 个答案:

没有答案
相关问题