“添加服务参考”无法使用 Azure AppFabric ServiceBus 2011 年 6 月 CTP

发布于 2024-11-25 11:53:59 字数 369 浏览 6 评论 0原文

我的计算机未安装 AppFabric sdks(既不是 V1 也不是 V2 CTP)。我添加了对 Microsoft.ServiceBus dll(2011 年 6 月 CTP 版本)的引用。当我尝试将服务引用添加到本地运行的 Azure 服务时,出现以下错误:

无法加载文件或程序集“Microsoft.ServiceBus, 版本=1.0.0.0,文化=中性,PublicKeyToken=31bf3856ad364e35' 或 它的依赖项之一

我不确定为什么它试图获取版本 1。我什至在 web.config 和 machine.config 上获得了指向版本 2 的服务模型扩展。

任何帮助将不胜感激。

I have a computer with no AppFabric sdks installed (neither V1 or V2 CTP). I added a reference to the Microsoft.ServiceBus dll (June 2011 CTP version). When I try to add a Service Reference to Azure Service running locally, I get this error:

Could not load file or assembly 'Microsoft.ServiceBus,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or
one of its dependencies

I'm not sure why is it trying to get version 1. I even got service model extensions on the web.config and machine.config pointing to version 2.

Any help would be greatly appreciated.

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

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

发布评论

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

评论(1

徒留西风 2024-12-02 11:53:59

发现问题了。我有一些 machine.config 条目仍然指向版本 1。特别是在policyImporters 节点上。我刚刚将它们更改为版本 2,并且成功了!

Found the problem. I had some machine.config entries still pointing to version 1. Specifically on the policyImporters node. I just changed them to version 2 and it worked!

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