Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • J 445 posts 862 karma points
    Dec 09, 2019 @ 15:47
    J
    0

    How to configure 2 Newtonsoft dlls?

    I need to use a plugin which uses version 9 of Newtonsoft.Json. Umbraco 7 already has Newtonsoft.Json residing in the bin directory so i tried to use codeBase as below in order to allow both dlls to be used

    <dependentAssembly>
      <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed"
        culture="neutral" />
      <codeBase version="6.0.0.0" href="Newtonsoft.Json.dll" />
      <codeBase version="9.0.0.0" href="dlls\9.0.0.0\Newtonsoft.Json.dll" />
    </dependentAssembly>
    

    However this doesnt work? Is there a way around this?

Please Sign in or register to post replies

Write your reply to:

Draft