2017-08-24 98 views
0

我試圖添加一個WCF服務,我忘記在單擊完成之前更改類名,因此我在導入過程的前幾個步驟中取消了它。我再次嘗試使用正確的名稱,現在我得到以下錯誤。取消後添加WCF服務失敗

[8/24/2017 11:53:41.664 AM] Adding Microsoft WCF Web Service Reference Provider - Preview to the project. 
[8/24/2017 11:53:41.674 AM] Importing web service metadata ... 
[8/24/2017 11:53:41.750 AM] Number of services found: 2 
[8/24/2017 11:53:41.768 AM] Restoring NuGet packages ... 
[8/24/2017 11:53:43.905 AM] Error:Unable to restore NuGet packages, please ensure packages can be restored for the project. 
[8/24/2017 11:53:44.013 AM] Failed adding Microsoft WCF Web Service Reference Provider - Preview to the project. 

我試着重新安裝WCF提供商,重啓,似乎沒有任何幫助。我在哪裏可以查找更詳細的日誌以瞭解爲什麼會發生這種情況? VS臨2017年15.3.1,.NET的核心Web 2.0的項目

回答