I'm writing an Asp.Net 5 (MVC6) web api, and I added the nuget package "SharpMap", which dependes on Newtonsoft.Json v4.5.0.0, but the asembly Mvc.Asp.Net.Mv.ViewFeatures requires Newtonsoft.Json v6.0.0.0.
If I update Newtonsoft.Json to v6 or later, I get this error:
Assembly 'Microsoft.AspNet.Mvc.ViewFeatures' with identity 'Microsoft.AspNet.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' uses 'Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' which has a higher version than referenced assembly 'Newtonsoft.Json' with identity 'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'
Any ideas on how bypass the version restriccion of the nuget packages? Or any other solution for this particular problem?