Reputation: 1
I need to setup an ASP.NET Core Web API and reference in it my other project which is written to run on .NET 4.6.1 (and it is using Entity Framework Core 3.6.1).
I found this article saying that to reference a .NET Framework 4.6.1 Assembly I need to use .NET Core 2.0. So using it and starting new project netcoreapp2.0
I am referencing to Microsoft.AspNetCore.All
v2.0.9 which is referencing to Entity Framework Core v2.0.3. And this makes my old assembly incompatible with the new one. At least the I get such notifications when I am to build new project.
Is there a proper way to reference such a legacy assembly?
I have already tried:
Microsoft.AspNetCore.All
in new projectMicrosoft.AspNetCore
and Microsoft.AspNetCore.App
in new projectUpvotes: 0
Views: 52