Reputation: 1566
I can't understand difference between lot of ASP.NET Core
framework names:
- dnxcore50
- dotnet5.4
- netcoreapp
dotnet5.4
is a new name for dnxcore50
?
I create Class Library project and there is dotent5.4
in project.json
. Then I create empty ASP.NET project an dthere is dnxcore50
.
I add dependency to Microsoft.EntityFrameworkCore 1.0.0
to project and get error:
The dependency Microsoft.EntityFrameworkCore does not support for framework NETPlatform, Version=v5.4
What is the correct framework version and Entity Framework version?
Upvotes: 3
Views: 777
Reputation: 65920
You can avoid so many issues if you use the latest
tools and frameworks.
Here is the link : Visual Studio 2015 Update 3 and .NET Core 1.0
What are the Target Framework Monikers (TFMs) ?
The Target Framework Monikers are IDs of the type framework+version that you can target from your apps in .NET Core and ASP.NET Core.
As examples, you can use:
– “netcoreapp1.0” For .NET Core 1.0
– “net45”, “net451”, “net452”, “net46”, “net461” for .NET Framework versions
– “portable-net45+win8” for PCL profiles
– “dotnet5.6”, “dnxcore50” and others, for older .NET Core preview versions (Before .NET Core 1.0 RTM and .NET Core RC2 were released)
– “netstandard1.2”, “netstandard1.5”, etc. for .NET Standard Platform monikers.
The table below defines some examples of the latest frameworks (as of late June 2016) that you can use and how they are referred to and which version of the .NET Standard Library they implement :
You can read about it here : Running .NET Core apps on multiple frameworks and (TFMs)
Upvotes: 5
Reputation: 20037
Update your project.json as per current NuGet identifiers.
For version understanding, refer this-
For Entity Framework refer this - https://docs.efproject.net/en/latest/efcore-vs-ef6/choosing.html
Upvotes: 5