私はMicrosoft.EntityFrameworkCore.SqlServerを使用しようとするんだけど、私は適切なスレッドの依存関係を持たないように見えます。 EFコアSSをインストールしようとするNuGetを使用している場合、私は次のようないくつかのメッセージを得る:UWP/EFコアのSQLServer - スレッディング依存
Restoring packages for c:\visual studio 2015\Projects\Axiom\Axiom\project.json...
System.Threading.Thread 4.0.0 provides a compile-time reference assembly for System.Threading.Thread on UAP,Version=v10.0, but there is no run-time assembly compatible with win10-arm.
Some packages are not compatible with UAP,Version=v10.0 (win10-arm).
System.Threading.Thread 4.0.0 provides a compile-time reference assembly for System.Threading.Thread on UAP,Version=v10.0, but there is no run-time assembly compatible with win10-arm-aot.
Some packages are not compatible with UAP,Version=v10.0 (win10-arm-aot).
System.Threading.Thread 4.0.0 provides a compile-time reference assembly for System.Threading.Thread on UAP,Version=v10.0, but there is no run-time assembly compatible with win10-x64.
Some packages are not compatible with UAP,Version=v10.0 (win10-x64).
...
Package restore failed for 'Axiom'.
Package restore failed. Rolling back package changes for 'Axiom'.
========== Finished ==========
私はEFC.SqlServerが.NETStandard V1.3にSystem.Threading.Threadへの参照を持っていることに注意してください、私既にインストールされていない場合、どのように依存関係を取得するか分かりません。
またはこのメッセージは、単にEFC.SqlServerが原因スレッドの要件にUAPと互換性がないことを意味するのでしょうか? EFC Webサイトは、UWPでSqlServerを使用できることを示しているようです。
誰かが依存関係の地獄の私を助けることができますか?
はい、あなたの答えは質問に答えます。 MSFTがなぜそんなに馬鹿馬鹿しい決定を下したのか?私が必要 機能は、1つの以上の任意のデータベース(複数可)ではなく、ローカルデータベースに接続することです。私はこれが新しいLoBや他の "アプリケーション"の98.735%に反していることを認識していますが、これは携帯電話やタブレット以外のものであると考えられているので、MSFTが一度はかわいい簡単な解決策。 – TRAL
ここで問題となるのは、 'Microsoft.EntityFrameworkCore.SqlServer'は、UWPでサポートされていないSQL Server用のADO.NETプロバイダ上にビルドされていることです。したがって、SQL Serverに直接接続することはできません。詳細については、[この問題](https:// github。com/aspnet/EntityFramework/issues/2876)をGitHubに追加してください。 –