F
F
Festelo2016-11-30 18:53:17
.NET
Festelo, 2016-11-30 18:53:17

How to import .Net Core library from .Net Framework application?

I want to use the code of my .Net Core library in my .Net Framework application. I click "Add Reference", select my library and get the error "Cannot add library NAME. Assembly must have an EXE or DLL extension.". How to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Melz, 2016-11-30
@Festelo

1. Build for net452 or netstandard1.6 target
2. Build for multiple frameworks as described in "Modify the project.json to support multiple frameworks" section HERE .
3. Gryat can still be made "dotnet pack" and installed from the local nugget.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question