This project has moved and is read-only. For the latest updates, please go here.

Installation problem of JSON.NET in C++/CLI Windows Form Project with VS2010

May 19, 2013 at 10:24 AM
I would like to use JSON.NET to do the JSON parsing process in my C++/CLI Windows Forms Application. The error occurred during the package installation of Newtonsoft.Json 5.0.5.
The installation log is as follows.
Installing 'Newtonsoft.Json 5.0.5'.
Successfully installed 'Newtonsoft.Json 5.0.5'.
Adding 'Newtonsoft.Json 5.0.5' to test.
Uninstalling 'Newtonsoft.Json 5.0.5'.
Successfully uninstalled 'Newtonsoft.Json 5.0.5'.
Install failed. Rolling back...
Install-Package : Could not install package 'Newtonsoft.Json 5.0.5'. You are trying to install this package
 into a project that targets 'Native,Version=v0.0', but the package does not contain any assembly reference
s or content files that are compatible with that framework. For more information, contact the package autho
At line:1 char:16
+ Install-Package <<<<  Newtonsoft.Json
    + CategoryInfo          : NotSpecified: (:) [Install-Package], InvalidOperationException
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageComman 
Is it possible to use JSON.NET in C++/CLI language? Thank you.