无法安装 Windows Azure Service Bus nuget 包 [英] Can't install Windows Azure Service Bus nuget package

查看:59
本文介绍了无法安装 Windows Azure Service Bus nuget 包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 nuget 包管理器将 nuget 包添加到我的项目中(右键单击并选择管理 Nuget").

I'm trying to add a nuget package to my project using the nuget package manager (right click and choosing "Manage Nugets").

我找到了 Windows Azure 服务总线,我正在单击安装.然后我收到以下错误:

I found the Windows Azure Service Bus and i'm clicking install. Then I get the following error:

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.

I tried it over and over and even tried restarting vs2012.

有没有人遇到过这个问题或者知道如何解决这个问题?

did anyone encounter this or know how to solve this?

谢谢

推荐答案

我收到无法解析依赖项 Microsoft.WindowsAzure.ConfigurationManager"错误,必须单独安装Microsoft.WindowsAzure.ConfigurationManager"nuget 包(VS 2015).这为我解决了依赖问题.

I was getting a "Dependency Microsoft.WindowsAzure.ConfigurationManager could not be resolved" error and had to separately install the "Microsoft.WindowsAzure.ConfigurationManager" nuget package (VS 2015). This fixed the dependency problem for me.

这篇关于无法安装 Windows Azure Service Bus nuget 包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆