Problems referencing a classlibrary from . net framework core - C#

Asked

Viewed 784 times

1

I need to reference a class library . NET Core in my WPF layer which is a . NET Framework layer.

However, a compilation error is made saying that it is not possible to refer to it.

The error message is:

The project "Nomedoprojeto.csproj" has as destination 'netcoreapp2.0'. It cannot be referenced by a project that targets 'Netframework,Version=v4.6.1'

How do I solve this problem?

  • Please put the error in text, not image.

1 answer

3


Browser other questions tagged

You are not signed in. Login or sign up in order to post.