2016-03-29 4 views
0

私はNewtonsoftがPlayfabで動作するようにするためにNewtonsoftを必要としています。単体テストのためのNewtonsoftのインストール.net 3.5のバージョン

しかし、Visual Studio - >ツール - > NUgetパッケージマネージャ - >パッケージマネージャコンソールを使用してインストールすることはできません。 「インストール・パッケージNewtonsoft.Json -Version 3.5.8」

をそして、これは私が見ることを得るものです::

は、私は、次のコマンドを使用し

PM> Install-Package Newtonsoft.Json -Version 3.5.8 
Attempting to gather dependencies information for package 'Newtonsoft.Json.3.5.8' with respect to project 'Game.CSharp', targeting '.NETFramework,Version=v3.5,Profile=Unity Subset v3.5' 
Attempting to resolve dependencies for package 'Newtonsoft.Json.3.5.8' with DependencyBehavior 'Lowest' 
Resolving actions to install package 'Newtonsoft.Json.3.5.8' 
Resolved actions to install package 'Newtonsoft.Json.3.5.8' 
Install failed. Rolling back... 
Package 'Newtonsoft.Json.3.5.8 : ' does not exist in project 'Game.CSharp' 
Removing package 'Newtonsoft.Json.3.5.8 : ' from folder 'C:\Users\\Documents\Game\packages' 
Removed package 'Newtonsoft.Json.3.5.8 : ' from folder 'C:\Users\\Documents\Game\packages' 
Install-Package : Could not install package 'Newtonsoft.Json 3.5.8'. You are trying to install this package into a project that targets '.NETFramework,Version=v3.5,Profile=Unity Subset v3.5', 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. 
At line:1 char:1 
+ Install-Package Newtonsoft.Json -Version 3.5.8 
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    + CategoryInfo   : NotSpecified: (:) [Install-Package], Exception 
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand 

は、誰かが私に正しい方向を助けることができます、 ありがとうございます。

+0

「」.NETFramework、バージョン= V3.5、プロフィール=ユニティサブセットv3.5 'に含まれていますが、 パッケージには、そのフレームワークと互換性のあるアセンブリ参照やコンテンツファイルは含まれていません。 >> NewtonsoftからJamesと連絡を取りましたか? http://www.newtonsoft.com/contact –

+0

いいえ私は彼に連絡していない、申し訳ありません、私はその点を見ていませんでした。私は彼と連絡を取る。ありがとう! –

答えて

0

PlayFab C#とUnity SDKは、もはやNewtonsoft.Jsonを必要としません。 SimpleJsonの変更された実装を両方のSDKに入れて、より多くのカスタマイズとコントロールを可能にしました。

必要に応じてNewtonsoft.Jsonを使用できます。また、Jsonパーサーのホットスワップアウトをサポートしていますが、最新の実装をより良くサポートしています。

我々は定期的に未回答の質問のためにスタックオーバーフローをチェックし、そう速く返事を私たち自身のフォーラムでこれらの質問を投稿すること自由に感じていない: https://community.playfab.com/index.html

関連する問題