locked
CRM 2011: Windows service application build fail in Jenkins due to Newtonsoft.Json.dll RRS feed

  • Question

  • Hello

    I have a windows service application built in NET 4.0 framework, when we built it through jenkins we got the below error

    The primary reference "Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL" could not be resolved because it was built against the ".NETFramework,Version=v4.5" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0"

    I have tried to find Newtonsoft.Json for .Net 4.0, I am unable to find the correct version that would fix this error.

    Can anyone help me please?

    Thanks

    B

    Thursday, June 8, 2017 3:57 PM