Http Assembly version error RRS feed

  • Question

  • User-1399352090 posted

    Hello i'm getting assembly error for System.Web.Http

    Severity Code Description Project File Line Suppression State
    Error CS1705 Assembly 'System.Web.Http' with identity 'System.Web.Http, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35' uses 'System.Net.Http.Formatting, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Net.Http.Formatting' with identity 'System.Net.Http.Formatting, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35' ApiServices C:\xxx\xxx\ApiServices\CSC 1 Active

    Please help.

    Appreciate for Quick and Best Response

    Wednesday, March 21, 2018 6:37 AM

All replies

  • User61956409 posted

    Hi Yasin,

    Please try to right click your project and select “Manage NuGet Packages...” option, and find the package which cause issues and try to update it.

    With Regards,

    Fei Han

    Sunday, March 25, 2018 5:54 AM
  • User1703056819 posted

    I received this same error after updating Nugets from 5.2.3 to 5.2.4

    I had to downgrade all of the Nuget. 

    <package id="Microsoft.AspNet.Mvc" version="5.2.3" targetFramework="net45" />

    <package id="Microsoft.AspNet.WebApi" version="5.2.3" targetFramework="net45" />
    <package id="Microsoft.AspNet.WebApi.Client" version="5.2.3" targetFramework="net45" />
    <package id="Microsoft.AspNet.WebApi.Core" version="5.2.3" targetFramework="net45" />
    <package id="Microsoft.AspNet.WebApi.WebHost" version="5.2.3" targetFramework="net45" />

    <package id="System.Net.Http.Formatting.Extension" version="" targetFramework="net45" />

    Tuesday, March 27, 2018 3:07 PM