2017-06-06 36 views
0

初心者のバージョン1.1.2とても親切にしてください:)NpgsqlのEntity FrameworkのコアとC#とVisual StudioでのEntity Frameworkのコア

このサイト

http://www.npgsql.org/efcore/migration/1.1.html

で、それはバージョン1.1と言います。 Npgsql Entity Framework Coreの0は、Entity Framework Coreのバージョン1.1.0で動作します。

しかし、私は(nugetパッケージを扱う)は、Microsoft Visual StudioでNpgsqlのEntity Frameworkのコアを選ぶときには、依存関係がだからで動作するはず

Microsoft.EntityFrameworkCore(> = 1.1.0)

であることを述べていますEntity Frameworkコアの1.1.2私はそれをまったく動作させることはできません。ここで誰か1.1.2と一緒に使うのか、それとも意味がないのかを知りたいだけです。

答えて

0

エラーメッセージが表示されますか?

Nugetパッケージをインストールするときに次のようなエラーが表示される場合は、Visual Studio 2017 15.3.0以降と.net Coreを使用していることを確認する必要があります。

Error: Could not install package Npgsql.EntityFrameworkCore You are trying to install this package into a project that targets '.NETFramework,Version=v4.5.2', 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.

私はあなたは、Visual Studio 2017 15.3.0以降を使用する必要があります。ネットのコアを使用する必要があり、Entity Frameworkのコアを使用することを発見しました。

関連する問題