update newtonsoft.dll to next version

Hi ,

We implemented External Authentication using Auth0 client . which require a version of Newtonsoft.json > 10.0.0 .

In 10.3 we updated the version on the Web.config file 

 <dependentAssembly>
        <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0" />
      </dependentAssembly>

We recently updated our dev env with 11.1  , rebuild the above plugin with target framework as  4.7 and deployed . Plugin works fine but 

Now we are able to find  exceptions as follows 

UnknownException: An error occurred while loading the plugin: Telligent.Evolution.Api.Plugins.UsageReporter (An error occurred while initializing plugins. Details of the issue were logged for review by the administrator.) ---> System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'
   at Telligent.Evolution.Api.Plugins.UsageReporter.get_ConfigurationOptions()
   at Telligent.Evolution.Components.PluginConfiguration..ctor(IPlugin plugin, IPluginManager pluginManager, ITranslatablePluginService translatablePluginService)
   at Telligent.Evolution.Components.PluginManager.InitializeCorePluginServices(IPlugin plugin, Boolean throwException, Boolean listOnly)
   at Telligent.Evolution.Components.PluginManager.LoadAndInitializePlugins(IEnumerable`1 plugins)

is the version 9.0.0.0 is required version ? or suggest a better way to upgrade the this to new version 

Thanks

Satish 



Edited
[edited by: Satish Kumar Polampalli at 10:40 AM (GMT 0) on Mon, Feb 3 2020]
Parents Reply Children