Cannot Install Newtonsoft Json RRS feed

  • Question

  • User1231829591 posted

    I tried to install Newtonsoft Json in my project in Visual Studio 2012 and got the error

    'Newtonsoft.Json' already has a dependency defined for 'Microsoft.CSharp'.

    I searched the web on this error and found many posts stating that the error is due to my version of Nuget being too old and needs to be replaced with the latest version. I did just that, restarted Visual Studio and tried to install Json.net once more and got the same error. 

    I even made sure Json was not already in the packages.config file but that didn't help. Please suggest any other course of actions I can try.

    Saturday, February 11, 2017 2:26 PM


  • User1231829591 posted

    It turns out the latest version of NewtonSoft Json does not work with Dotnet Framework 4.5. So I had to go find an earlier version of NewtonSoft Json that works.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, February 11, 2017 7:37 PM