0
我正嘗試在Visual Studio 15中爲Web API項目安裝Unity.Interception nuget包。我已經安裝並且一直在使用Unity 4.0.1,但是我收到了一個奇怪的錯誤當嘗試安裝Unity.Interception時(我用{}和一個縮寫的路由名稱覆蓋了本地文件系統路徑)。從軟件包管理器安裝Unity.Interception nuget包的問題
輸出:
Installing Unity.Interception 4.0.1.
Adding package 'Unity.Interception.4.0.1' to folder '{projectpath}\packages'
Added package 'Unity.Interception.4.0.1' to folder '{projectpath}\packages'
Install failed. Rolling back...
Package 'Unity.Interception.4.0.1 : Unity [4.0.1,)' does not exist in project '{projectname}'
Removing package 'Unity.Interception.4.0.1 : Unity [4.0.1,)' from folder '{projectpath}\packages'
Removed package 'Unity.Interception.4.0.1 : Unity [4.0.1,)' from folder '{projectpath}\packages'
Failed to add reference to 'Microsoft.Practices.Unity.Interception.Configuration'.
如何解決這個問題的任何想法,將不勝感激!