iLexDev / ASP.NET-WebApi-MultipartDataMediaFormatter

Used for binding custom types (including files) when sending and receiving multipart encoded form data
MIT License
93 stars 44 forks source link

update to WebApi 5.2.0 and error #2

Closed mey2021 closed 10 years ago

mey2021 commented 10 years ago

hi after update webapi pakage this error apeare:

untitled picture

iLexDev commented 10 years ago

Simply remove all web api nuget packages and reinstall them back. Also you need to make changes to web.config:

 <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">      
      <dependentAssembly>
        <assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" />
        <bindingRedirect oldVersion="0.0.0.0-5.2.0.0" newVersion="5.2.0.0" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>