Add a link to the .NET Core 2.0 DLL for the Full Framework 4.7 project

I searched for this question here, but I did not find the answer.

I have a class library project targeting .NET Core 2.0 and a WPF project targeting .NET Full Framework 4.7. I cannot reference the class library in a WPF project. I get the following error:

Project 'xxxxxxxx' targets '.NETCoreApp, Version = v2.0'. It cannot be referenced by a project intended for ".NETFramework, Version = v4.7".

Is there a way to reference a .NET Core project in the Full Framework alone?

+4
source share
1 answer

You cannot add a reference to a .NET Core project in a .NET Framework project.

/ .NET Core .NET Framework, .NET Standard. .NET Standard 2.0, .NET Framework 4.6.1+ .NET Core 2.0+.

+12

Source: https://habr.com/ru/post/1684425/


All Articles