How to know will nuget package work on .NET Core?

前端 未结 2 1068
面向向阳花
面向向阳花 2021-02-19 21:02

I would expect some kind of filter to exists on website or in console.

2条回答
  •  萌比男神i
    2021-02-19 21:24

    This isn't easy right now, unfortunately. There's an issue open on the NuGet Github about adding a filter to the website.

    Right now, the best way to tell if a package will work with .NET Core is by examining the frameworks it supports in the Dependencies section.

    If .NETStandard is listed, the package supports .NET Core via the .NET Platform Standard:

    If a package's Dependencies section doesn't mention .NETStandard, or the Dependencies section is completely empty, it does not support .NET Core:

提交回复
热议问题