小编use*_*754的帖子

无法安装:Newtonsoft.Json

我想在我的Windows Phone项目中下载并解析JSON,所以我决定newtonsoft.json通过Visual Studio中的Nuget 下载库,但我收到以下内容:

PM> Install-Package Newtonsoft.Json
Successfully installed 'Newtonsoft.Json 6.0.1'.
Successfully uninstalled 'Newtonsoft.Json 6.0.1'.
Install failed. Rolling back...

Install-Package : Could not install package 'Newtonsoft.Json 6.0.1'. You are trying to install this package into a project that targets 'WindowsPhone,Version=v8.0', but the package does not 
contain any assembly references that are compatible with that framework. For more information, contact the package author.
At line:1 char:1
 + Install-Package Newtonsoft.Json
 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 + CategoryInfo          : NotSpecified: (:) [Install-Package], InvalidOperationException
 + …
Run Code Online (Sandbox Code Playgroud)

c# nuget windows-phone-8

5
推荐指数
1
解决办法
1万
查看次数

标签 统计

c# ×1

nuget ×1

windows-phone-8 ×1