“添加服务参考”无法使用 Azure AppFabric ServiceBus 2011 年 6 月 CTP
我的计算机未安装 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
发现问题了。我有一些 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!