刷新 SQL Server 参考

发布于 2025-01-08 17:45:21 字数 136 浏览 4 评论 0原文

我在 VS 2010 中有一个 SQL Server 项目,它引用 SQL Server 2008 数据库中的程序集。如果我删除并使用新版本在数据库中重新创建程序集,如何刷新 Visual Studio 的引用视图,以便 Intellisense 拾取更改?

I have a SQL Server project in VS 2010 that references an assembly in a SQL Server 2008 database. If I drop and recreate the assembly in the database with a new version, how can I refresh Visual Studio's view of the reference, so that Intellisense picks up the changes?

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

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

勿忘心安 2025-01-15 17:45:21

我相信,如果您按照以下步骤操作,VS 应该会选择新版本的程序集:

  1. Build >构建解决方案
  2. 构建>重建解决方案

希望这有帮助!

I believe that if you follow these steps, the new version of the assembly should get picked up by VS:

  1. Build > Build Solution
  2. Build > Rebuild Solution

Hope this helps!

你是年少的欢喜 2025-01-15 17:45:21

答案可能来得太晚了,但对我来说,它只能删除引用并再次添加它。 (10秒操作)

The answer might come toooo late, but for me it only worked deleting the reference and adding it again. (10 seconds operation)

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