Ich mag die JSON in meinem Windows Phone Projekt herunterzuladen und zu analysieren, so dass ich beschloss newtonsoft.json
Bibliothek über Nuget in Visual Studios zum Download, aber ich erhalte die:kann nicht installiert werden: Newtonsoft.Json
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
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
Versuchen Sie sehen NuGet auf die neueste Version zu aktualisieren und Visual Studio neu zu starten. –
@BenjaminGruenbaum schon getestet aber nichts ändert sich !!!! – user2068754
@ user2068754 Wie haben Sie es getestet? Aktualisieren Sie Ihre Frage mit einem relevanten Codebeispiel, das Sie versucht haben. Zeig uns, wie es nicht funktioniert. – Dayan