I am working on a .net core project that needs a reference from existing .net 3rd party library which is built in .net4.5 framework. Would it be possible to reuse it on .net core projects?
-
2You can wrap that library in a NuGet package, put in a custom feed, and then consume it in your .NET Core project. But since it only supports .NET Framework, your .NET Core project can only target desktop profiles/monikers.Lex Li– Lex Li2016-07-08 10:47:46 +00:00Commented Jul 8, 2016 at 10:47
Add a comment
|
2 Answers
An old library would probably not work - the library would have to be built against a .NET Standard so that it supports both frameworks and runs across multiple platforms
https://learn.microsoft.com/en-us/dotnet/articles/standard/library
1 Comment
Eduardo Molteni
What if I don't care about multiple platflorms? Just Windows