U4-4354 - Update to Newtonsoft.Json > 5

Created by Luca 07 Mar 2014, 08:17:06 Updated by Jeavon Leopold 05 Apr 2014, 19:40:40

Duplicates: U4-3779

Please update UmbracoCms.Core depencencies, expecially Json.net so I can add Web.Optimization Framework reference to my project. Many thanks

1 Attachments

Comments

Shannon Deminick 09 Mar 2014, 23:36:50

What version of Json.net are you referring to, please provide more details.


Shannon Deminick 10 Mar 2014, 08:21:13

Umbraco is not compatible with MVC 5 at the present time, you'll have to use the version of MVC shipped with Umbraco for the time being, there are multiple different packages that Umbraco uses that need to be upgraded and tested to work with MVC 5.


Luca 10 Mar 2014, 08:21:43

As you can see in the attached image, when i try to update json.net package i get this error. I'd like to install Microsoft Optimization Framework in my project so I need Json.NET 5.0.4 or higher. Many thanks.


Luca 10 Mar 2014, 08:25:44

I'm using MVC4, i only need to install this: https://www.nuget.org/packages/microsoft.aspnet.web.optimization/ that depends on: https://www.nuget.org/packages/WebGrease/ that needs Newtonsoft.Json (≥ 5.0.4)


Shannon Deminick 10 Mar 2014, 23:26:21

The migration to that assembly caused us problems in the past because it was too new and contained problems with backwards compatibility. I will need to have the core devs review to see when it is feasible to ship with this version and if it will cause any problems without waiting until the next major release.


Shannon Deminick 10 Mar 2014, 23:27:28

You could try using an older version: https://www.nuget.org/packages/Microsoft.AspNet.Web.Optimization/1.1.0


Luca 11 Mar 2014, 08:02:46

Many thanks for your support. I'll use the older version of optimization framework as you suggested me. I hope that the core devs review will be positive so that any other developer like me, could take advantage of the update. I'll stay tuned for any news. Have a nice day.


Wiebe Tijsma 05 Apr 2014, 18:17:46

There are more and more packages that require a newer version of json.net (newtonsoft.json). The latest version of WindowsAzure.Storage, WebGrease, etc. Could at least the Umbraco.Core.nuspec specify a maximum version or are there really known issues with a newer json.net?


Priority: Normal

Type: Bug

State: Duplicate

Assignee:

Difficulty: Easy

Category: Packages

Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version:

Sprint:

Story Points:

Cycle: