How to add reference to ASP.Net Core project?

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
ricsmania
Posts: 9
Joined: Fri 17 Jun 2016 16:37

How to add reference to ASP.Net Core project?

Post by ricsmania » Fri 17 Jun 2016 18:24

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!

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

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

Post by Shalex » Mon 20 Jun 2016 13:38

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:

ricsmania
Posts: 9
Joined: Fri 17 Jun 2016 16:37

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

Post by ricsmania » Wed 22 Jun 2016 18:59

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.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

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

Post by Shalex » Thu 30 Jun 2016 11:39

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.

ricsmania
Posts: 9
Joined: Fri 17 Jun 2016 16:37

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

Post by ricsmania » Wed 13 Jul 2016 16:39

Any progress on this?

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

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

Post by Shalex » Fri 15 Jul 2016 16:50

The investigation is in progress. As soon as we have any results, we will let you know.

andreasm
Posts: 2
Joined: Mon 21 Nov 2016 16:28

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

Post by andreasm » Mon 21 Nov 2016 16:35

I have the exact same need. Any update on this ?

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

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

Post by Shalex » Tue 22 Nov 2016 14:15

An approximate timeframe is several weeks. We will notify you when the feature is implemented.

palmi
Posts: 20
Joined: Thu 16 Feb 2017 16:52

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

Post by palmi » Fri 03 Mar 2017 15:23

Any news with this issue?

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

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

Post by Shalex » Mon 06 Mar 2017 10:41

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.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

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

Post by Shalex » Tue 30 May 2017 14:18

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.

Ruchipatil
Posts: 1
Joined: Wed 24 Jul 2019 06:37
Contact:

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

Post by Ruchipatil » Wed 24 Jul 2019 10:23

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.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

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

Post by Shalex » Thu 25 Jul 2019 08:35

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\).

bhaviks
Posts: 1
Joined: Mon 23 Aug 2021 10:10

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

Post by bhaviks » Mon 23 Aug 2021 10:20

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

Post Reply