繁体   English   中英

无法安装Windows Azure Service Bus nuget程序包

[英]Can't install Windows Azure Service Bus nuget package

我正在尝试使用nuget软件包管理器将nuget软件包添加到我的项目中(右键单击并选择“管理Nugets”)。

我找到了Windows Azure Service Bus,然后单击“安装”。 然后我得到以下错误:

Attempting to resolve dependency 'Microsoft.WindowsAzure.ConfigurationManager (≥ 2.0.2)'.
Successfully installed 'WindowsAzure.ServiceBus 2.2.1.1'.
Unexpected end of file while parsing Comment has occurred. Line 46, position 17.
Successfully uninstalled 'WindowsAzure.ServiceBus 2.2.1.1'.
Install failed. Rolling back...
Unexpected end of file while parsing Comment has occurred. Line 46, position 17.

我一遍又一遍地尝试,甚至尝试重新启动vs2012。

有谁遇到或知道如何解决这个问题?

谢谢

我遇到“无法解决依赖Microsoft.WindowsAzure.ConfigurationManager”错误,不得不单独安装“ Microsoft.WindowsAzure.ConfigurationManager” nuget程序包(VS 2015)。 这为我解决了依赖性问题。

尝试将WindowsAzure.ServiceBus软件包安装到一个干净的项目中,但对我而言没有此问题。

我怀疑您在web.config中有一些特殊的评论或类似的内容。 您能否与我们分享您的web.config外观? 或随时在http://nuget.codeplex.com上提出问题并描述再现步骤。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM