簡體   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