Json.net is not compatible for Windows Phone 8.1

Trying to add json.net NewtonSofts library via nuget. Getting the dialog "incompatible" when you click on the installation.

1 ... Create a new "Blank App" for Windows Phone 8.1 in the Visual Studio 2013 update 2 2 ... Click "Manage NuGet Packages". 3 ... Find json.net version 6.0.3 4 ... The error message is incompatible

The dialog box also lists compatible versions, including wp7, wp80 and wap81.

The error I am getting is as follows:

Installing 'Newtonsoft.Json 6.0.3'.
Successfully installed 'Newtonsoft.Json 6.0.3'.
Adding 'Newtonsoft.Json 6.0.3' to App1.
Uninstalling 'Newtonsoft.Json 6.0.3'.
Successfully uninstalled 'Newtonsoft.Json 6.0.3'.
Install failed. Rolling back...
Could not install package 'Newtonsoft.Json 6.0.3'. You are trying to install this package into a project that targets 'WindowsPhoneApp,Version=v8.1', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
+4
source share
1 answer

. , , WP8.1 , JSON.NET, , ! . , , . , , , , , , .

+1

Source: https://habr.com/ru/post/1542641/


All Articles