Ramppy Dumppy
Ramppy Dumppy

Reputation: 2817

using old .net library in .net core

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?

Upvotes: 2

Views: 1272

Answers (2)

schwietertj
schwietertj

Reputation: 185

The majority of the libraries available in NuGet will not have support for Core. The only option is if the source code is available you will have to manually port it over.

Upvotes: 2

Bogdan
Bogdan

Reputation: 1393

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

https://blogs.msdn.microsoft.com/cesardelatorre/2016/06/28/running-net-core-apps-on-multiple-frameworks-and-what-the-target-framework-monikers-tfms-are-about/

Upvotes: 0

Related Questions