I am running into an issue when I try to reference a .net 4.7 DLL in my Asp.NetCore 2 MVC app. The error is pasted below:
PM> Install-Package Microsoft.NETCore.App -Version 2.0.0 Restoring packages for ../Web.csproj... Install-Package : Package Microsoft.NETCore.App 2.0.0 is not compatible with net47 (.NETFramework,Version=v4.7). Package Microsoft.NETCore.App 2.0.0
supports:
- netcoreapp (.NETCoreApp,Version=v0.0)
- netcoreapp2.0 (.NETCoreApp,Version=v2.0)
The .Net 4.7 assembly is an entity framework 6 library which will be used by the web app(core2 mvc). I have updated my core 2 web app to target multiple frameworks (netcoreapp2.0;net4.7).
So I guess what im trying to ask is how I can use a .Net4.7 assembly in an ASP.Net core2.0 solution.