Quantcast
Channel: Microsoft.EntityFrameworkCore.Tools.DotNet v2.0.1 - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Microsoft.EntityFrameworkCore.Tools.DotNet v2.0.1

$
0
0

Currently Microsoft.EntityFrameworkCore.Tools.DotNet V2.0.1 is showing a dependency of .NetCoreApp Version = 2.0

Any reason why that isnt version >=2.0 ?
Any idea when support for the more recent versions of .NetCore SDK will be available

EDIT: Added screenshotNuget in VS 2017
See dependency listed as .NetCoreApp = v2.0 and not .NetStandard = V2.0 or >= CoreApp V2.0 for similar packages.

edit2:
I ran the following new Project tests:i still think there is an issue here.
I have .netcore sdk 2.1.4 installedI started with brand new solution in VS2017 15.5.5

I create a new core project netcoreapp2.0 and a new standard project netstandard2.0

These packages

o Microsoft.EntityFrameworkCore.tools v2.0.1
o Microsoft.EntityFrameworkCore.design v2.0.1
o Microsoft.EntityFrameworkCore v2.0.1
o Microsoft.EntityFrameworkCore.Sqlite

can all be successfully installed in both projects netstandard2.0and netcoreapp2.0

However: Microsoft.EntityFrameworkCore.Tools.DotNet v2.0.1 can not be installed in netstandard2.0 project, which I can live with and the error makes some sense.

Restoring packages for C:_Dev\PJSTest\PJSStd\PJSStd.csproj... Package Microsoft.EntityFrameworkCore.Tools.DotNet 2.0.1 is not compatible with netstandard2.0 (.NETStandard,Version=v2.0). Package Microsoft.EntityFrameworkCore.Tools.DotNet 2.0.1 supports: netcoreapp2.0 (.NETCoreApp,Version=v2.0) Package restore failed. Rolling back package changes for 'PJSStd'. Time Elapsed: 00:00:00.1634807 ========== Finished ==========

BUT

Microsoft.EntityFrameworkCore.Tools.DotNet v2.0.1

can not be even be installed in a netcoreapp2.0 project

Restoring packages for C:_Dev\EFTEST\EFCore\EFCore.csproj... Detected package downgrade: Microsoft.NETCore.App from 2.0.3 to 2.0.0. Reference the package directly from the project to select a different version. EFCore -> Microsoft.EntityFrameworkCore.Tools.DotNet 2.0.1 -> Microsoft.NETCore.App (>= 2.0.3) EFCore -> Microsoft.NETCore.App (>= 2.0.0) Package restore failed. Rolling back package changes for'EFCore'. Time Elapsed: 00:00:01.1413809 ========== Finished ==========

I think there is an issue with versioning on the CoreApp dependency.


Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>