Build warnings?

How can I resolve these assembly reference warnings?

System.Net.Http.Formatting.dll: Warning CS1701: Suppose the assembly reference 'Newtonsoft.Json, Version =, Culture = neutral, PublicKeyToken = 30ad4fe6b2a6aeed' matches' Newtonsoft.Json, Version =, Culture = neutral, PublicKeyToken = 30ad4fe6b2a6aeed ', you may need to provide the Newtonsoft.Json.dll runtime: (Location of the symbol associated with the previous warning)


source to share

1 answer

Try adding the file bindingRedirect

to your application web.config


  <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
      <bindingRedirect oldVersion="" newVersion="" />




All Articles