How to find out if the nuget package will work on .NET Core?

I would suggest that some kind of filter exists on the website or in the console.

+6
source share
2 answers

It is not difficult now, unfortunately. There's a problem open on NuGet Github about adding a filter to a website.

Right now, the best way to find out if a package will work with .NET Core is to examine the framework that it supports in the Dependencies section.

If .NETStandard is specified , the package supports .NET Core through the .NET Platform Standard :

.NETStandard 1.0 Support Package

If the package does not display .NETStandard or simply has an empty Dependencies section, it does not support .NET Core:

package with an empty dependency section

+7
source

enter image description here Set up your .NET Core project in the version you want. I support projects 1.1 and 2.0 to work with this. Then try adding nuget to the project.

For example, ASPOSE will NOT add 1.1 to the project, but will add 2.0 to the project.

The easiest route in the short term, until they fix it somehow.

Obviously, this is not a guarantee that it still works, but it gives you a good idea if its api compat.

+1
source

All Articles