Could not load file or assembly 'Newtonsoft.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies
问题 This one error is driving me nuts. I installed the SendGrid NuGet package in one of my class libraries named BaseServices , which has a dependency on Newtonsoft.Json v7.0.1 , so it installs that in my packages folder and references that. In the class library, I have this binding redirect: <dependentAssembly> <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-7.0.0.0" newVersion="7.0.0.0" /> </dependentAssembly>