I tried to install using the command through Json.Net NuGet installed package newtonsoft.json < / Code>.
I got the same error shown below. How can I resolve this?
install -package Newtonsoft.Json is installing 'Newtonsoft.Json 6.0.6' Successfully removed 'Newtonsoft.Json 6.0.6' successfully 'Newtonsoft.Json 6.0.3 has been removed from ReadJSON' Newtonsoft.Json 6.0.3 'ReadJSON' 'Nutonsoft. Jason 'Newtonsoft.Json 6.0.6 uninstall' Newtonsoft.Json 6.0.6 Rolling back failed to install has been uninstalled successfully "to" read Jason 6.0.6 ... install package: 'Newtonsoft .Json 6.0.6 'package could not be installed. You are trying to install the package in a project that 'Silverlight, version = v4.0, profile targets = WindowsPhone71', but the package any assembly references or content files that are compatible with the structure Are not included. For more information, contact package author. In line: 1 character: 1 + Install-package Newtonsoft.Json + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo: NotSpecified: (:) [install-package], InvalidOperationException + FullyQualifiedErrorId: NuGetCmdletUnhandledException, NuGet.PowerShell.Commands.InstallPackageCommand
text after
Support for Windows Phone 7 and Silverlight 4 was dropped from JasonNet in Version 6.0 (). If you still need to target WP7 / SL4, you will need to use Json.Net v5.0.8 instead. You can install it by using the following command in the Package Manager console:
Install-Package Newtonsoft.Json -Version 5.0.8
Comments
Post a Comment