在 VS 中部署 CLR udf 项目时出错 - SQL 目录中找不到 system.core 3.5

发布于 2024-08-25 15:11:33 字数 466 浏览 4 评论 0原文

我正在构建 CLR 存储过程和 UDF,如本文中所述:

http://www. codeproject.com/KB/cs/CLR_Stored_Procedure.aspx

当我执行 Build > 时部署后,出现以下错误:

错误:程序集“system.core”, 版本=3.5.0.0,文化=中性, 公钥令牌=b77a5c561934e089。'曾是 在 SQL 目录中找不到。

请注意,我正在使用 .NET 3.5 中的一些类。

我该如何解决这个问题?我正在部署到 Sql Server Express,但在产品中它将是 Sql Server 2005。

I am building CLR Stored Procedures and UDFs as discussed in this article:

http://www.codeproject.com/KB/cs/CLR_Stored_Procedure.aspx

When I execute Build > Deploy, I get the following error:

Error: Assembly 'system.core,
version=3.5.0.0, culture=neutral,
publickeytoken=b77a5c561934e089.' was
not found in the SQL catalog.

Note that I am using some classes in .NET 3.5.

How can I fix this? I am deploying to Sql Server Express, but in prod it will be Sql Server 2005.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文