2016-08-06 2 views
-1

sqlite-netのNuGetパッケージをインストールし、このパッケージはメインプロジェクトSQLite.csにクラスを作成し、このクラスは " System.Threading.Thread NuGetからSystem.Threading.Thread 4.0.0 『」と私がインストールしよう』しかし、私はエラーがあります:Xamarin StudioにSystem.Threading.Thread 4.0.0をインストールできない

Adding System.Threading.Thread... Adding 'System.Threading.Thread 4.0.0' to AyVoy. Could not install package 'System.Threading.Thread 4.0.0'. You are trying to install this package into a project that targets 'portable-net45+win+wp80+MonoTouch10+MonoAndroid10+xamarinmac20+xamarintvos10+xamarinwatchos10+xamarinios10', 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.

私はこのパッケージをインストールする方法の任意のアイデアを?

ありがとうございます。

+0

どのようなプロジェクトを作成しましたか? –

答えて

2

プロファイル78を対象とするポータブルクラスライブラリ(PCL)プロジェクトに.NET Standard 1.3をサポートするSystem.Threading.Thread 4.0.0をインストールしようとしています。これはサポートされていません。 packages.configファイルを使用する移植可能なクラスライブラリプロジェクトのいずれも.NET Standard 1.3をサポートしていません。

PCL profile to .NET Standard mappingdocumentedある:

  • Profile7 - > .NET標準1.1
  • Profile31 - > .NET標準1.0
  • Profile32 - > .NET標準1.2
  • Profile44 - > .NET標準1.2
  • Profile49 - > .NET標準1.0
  • Profile78 - > .NET標準1.0
  • Profile84 - > .NET標準1.0
  • Profile111 - > .NET標準1.1
  • Profile151 - > .NET標準1.2
  • Profile157 - > .NET標準1.0
  • Profile259 - > .NET標準1.0

.NET Standardは最新版のXamarin Studio 6.0.2およびMono 4.4.2でサポートされていますが、上記のプロファイルを使用してSystem.Threading.ThreadをPCLプロジェクトにインストールすることはできません。

Xamarin.iOSまたはXamarin.AndroidプロジェクトにSystem.Threading.Thread NuGetパッケージをインストールできます。このプロジェクトは、最新バージョンのXamarin StudioおよびMonoで実行できます。

+0

あなたより!できます!!! –

関連する問題