Page 1 of 1

How to add reference to ASP.Net Core project?

Posted: Fri 17 Jun 2016 18:24
by ricsmania
Hello,

I'm trying to create a project using dotConnect for Oracle trial 9.1.35. My project is .Net 4.6.1, ASP.Net Core RC2 and I want to use EF Core.

I installed the trial with all options, including the VS 2015 integration, but I don't know how to add a reference.

If I try to install from the main Nuget repository I only get the Express versions, which don't have EF support.
If I try to manually add it into project.json it's not recognized.
I also tried adding the reference manually (context menu > Add > Reference), but nothing from Devart comes up on the Assemblies list.
And if I try adding a reference to the DLLs on the program files folder I get an error:

---------------------------
Microsoft Visual Studio
---------------------------
.NET Core projects only support referencing .NET framework assemblies in this release. To reference other assemblies, they need to be included in a NuGet package and reference that package.

The components are installed, and they appear on VS menus and about screen.

So, how should I install it?

Thanks!

Re: How to add reference to ASP.Net Core project?

Posted: Mon 20 Jun 2016 13:38
by Shalex
Our roadmap includes .NET Core. There is no timeframe for the feature at the moment. We will notify you about the progress.

EF7 (EF Core) is being developed by Microsoft for the following target platforms:

Re: How to add reference to ASP.Net Core project?

Posted: Wed 22 Jun 2016 18:59
by ricsmania
Hello Shalex,

We are not using .Net Core, we are using .Net 4.6.1 with ASP.Net Core.

I got dotConnect working by manually creating a Nuget package using the DLLs found on program files. But that is only a workaround until we find a better solution.

The question is how to install it into a ASP.Net Core application with .Net full.

Thanks.

Re: How to add reference to ASP.Net Core project?

Posted: Thu 30 Jun 2016 11:39
by Shalex
ricsmania wrote:I got dotConnect working by manually creating a Nuget package using the DLLs found on program files. But that is only a workaround until we find a better solution.

The question is how to install it into a ASP.Net Core application with .Net full.
We will investigate the question and notify you about the result.

Re: How to add reference to ASP.Net Core project?

Posted: Wed 13 Jul 2016 16:39
by ricsmania
Any progress on this?

Re: How to add reference to ASP.Net Core project?

Posted: Fri 15 Jul 2016 16:50
by Shalex
The investigation is in progress. As soon as we have any results, we will let you know.

Re: How to add reference to ASP.Net Core project?

Posted: Mon 21 Nov 2016 16:35
by andreasm
I have the exact same need. Any update on this ?

Re: How to add reference to ASP.Net Core project?

Posted: Tue 22 Nov 2016 14:15
by Shalex
An approximate timeframe is several weeks. We will notify you when the feature is implemented.

Re: How to add reference to ASP.Net Core project?

Posted: Fri 03 Mar 2017 15:23
by palmi
Any news with this issue?

Re: How to add reference to ASP.Net Core project?

Posted: Mon 06 Mar 2017 10:41
by Shalex
We are working on the .NET Core support. There is no any timeframe at the moment. We will notify you when the feature is implemented.

Please try a temporary workaround: viewtopic.php?f=1&t=34352#p119065.

Re: How to add reference to ASP.Net Core project?

Posted: Tue 30 May 2017 14:18
by Shalex
Devart is glad to announce the release of dotConnect for Oracle 9.4 with support for .NET Core: viewtopic.php?f=1&t=35436.

If you have any questions, feel free to contact us.

Re: How to add reference to ASP.Net Core project?

Posted: Wed 24 Jul 2019 10:23
by Ruchipatil
We are not utilizing .Net Center, we are utilizing .Net 4.6.1 with ASP.Net Center.

I got dotConnect working by physically making a Nuget bundle utilizing the DLLs found on program documents. Be that as it may, that is just a workaround until we locate a superior arrangement.

The inquiry is the manner by which to introduce it into an ASP.Net Center application with .Net full.

Re: How to add reference to ASP.Net Core project?

Posted: Thu 25 Jul 2019 08:35
by Shalex
https://www.nuget.org/packages/devart.data.oracle is .NET Standard version of the Devart.* assemblies.

.NET Framework Devart.* assemblies are shipped with dotConnect for Oracle installation (by default, C:\Program Files (x86)\Devart\dotConnect\Oracle\).

Re: How to add reference to ASP.Net Core project?

Posted: Mon 23 Aug 2021 10:20
by bhaviks
Hello I am not much experienced in asp net I found this URL which helps you https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-add-reference