Uploaded image for project: 'REEF (Retired)'
  1. REEF (Retired)
  2. REEF-1332

Resolve version conflicts with NewtonSoft JSON

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.15
    • None
    • None

    Description

      REEF.NET currently produces multiple instances of the following warning during the build:

      ResolveAssemblyReferences:
        No way to resolve conflict between "Newtonsoft.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed" and "Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=
        30ad4fe6b2a6aeed". Choosing "Newtonsoft.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed" arbitrarily.
        Consider app.config remapping of assembly "Newtonsoft.Json, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed" from Version "6.0.0.0" [C:\Program Files\Microsoft SDKs\Azure\.NET SDK\v2.8\bin\p
        lugins\Diagnostics\Newtonsoft.Json.dll] to Version "7.0.0.0" [C:\src\reef\lang\cs\bin\x64\Debug\Org.Apache.REEF.Driver\Newtonsoft.Json.dll] to solve conflict and get rid of warning.
      C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3276: Found conflicts between different versions of the same dependent assembly. Please set t
      he "AutoGenerateBindingRedirects" property to true in the project file. For more information, see http://go.microsoft.com/fwlink/?LinkId=294190. [C:\src\reef\lang\cs\Org.Apache.REEF.Bridge\Org.
      Apache.REEF.Bridge.vcxproj] 
      

      This should be resolved by adding the App.config to the offending projects.

      Attachments

        Issue Links

          Activity

            People

              markus.weimer Markus Weimer
              markus.weimer Markus Weimer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: