EF Core is being developed by Microsoft for the following target platforms:
- .NET 4.5.1 and higher -> EF Core for this platform is supported by dotConnect for Oracle
- .NET Core -> planned
- Universal Windows Platform -> under review
1. This tutorial is for
New > Project > Visual C# > Windows > Console Application
but you are trying to apply it to
New > Project > Visual C# > .NET Core > Console Application
anoosher wrote:Code: Select all
“frameworks”: {
“netcoreapp1.0”: {
“imports”: “dnxcore50”,
“dependencies”: {
“Microsoft.NETCore.App“: {
“type”: “platform”,
“version”: “1.0.0”
}
}
},
2. We will notify you when .NET Core assemblies are added to the provider installation. With a current implementation, you can use the Devart.* assemblies with the following framework:
In this case, please download nuget.exe and create a local package for adding the Devart.* assemblies to your project:
https://docs.nuget.org/ndocs/create-pac ... sembly-dll.
For example:
a) run
nuget spec Devart.Data.Oracle.Entity.EFCore.dll
b) rename Devart.Data.Oracle.Entity.EFCore.dll.nuspec -> DevartEFCore.nuspec and edit its content to make it be the following:
Code: Select all
<?xml version="1.0"?>
<package >
<metadata>
<id>DevartEFCore</id>
<version>1.0.0</version>
<authors>test</authors>
<owners>test</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Package description</description>
<releaseNotes>Summary of changes made in this release of the package.</releaseNotes>
<copyright>Copyright 2016</copyright>
<dependencies>
<dependency id="Microsoft.EntityFrameworkCore.Relational" version="1.0.1" />
</dependencies>
</metadata>
<files>
<file src="lib\*.*" target="lib" />
</files>
</package>
c) create the direcory lib right after DevartEFCore.nuspec and copy these assemblies (from provider's installation folder) to it:
Devart.Data.dll
Devart.Data.Oracle.dll
Devart.Data.Oracle.Entity.EFCore.dll
d) run
nuget pack DevartEFCore.nuspec
e) open your .NET Core project, navigate to Tools > NuGet Package Manager > Package Manager Console, click cogwheel to open Package Manager Settings and add a new package source which will target the directory where DevartEFCore.nupkg resides. Then select this newly created package source in your Package Manager Console and run
install-package DevartEFCore