錯誤:更新System.Net.Http.Formatting從版本4.0.0.0 =到版本= 5.2.3.0
Error CS1705 Assembly 'System.Web.Http' with identity 'System.Web.Http, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' uses 'System.Net.Http.Formatting, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Net.Http.Formatting' with identity 'System.Net.Http.Formatting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
如何從4.0.0.0更新System.Net.Http.Formatting到5.2.3.0?
編輯
試過Update-Package –reinstall Microsoft.AspNet.WebApi.Client
,但似乎這個包不包含System.Net.Http.Formatting
使用NuGet包:[鏈接](HTTPS:// WWW。 nuget.org/packages/System.Net.Http.Formatting.Extension/) –
@GiovanniRusso,謝謝,但是沒有解決問題 –
@SGN是否*刪除*現有參考? –