如何知道nuget包将在.NET Core上工作? [英] How to know will nuget package work on .NET Core?

查看:132
本文介绍了如何知道nuget包将在.NET Core上工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望网站或控制台中存在某种过滤器。

解决方案

现在这并不容易,很不幸。在NuGet Github上有一个有关添加过滤器的



如果程序包的依赖关系部分未提及.NETStandard,或者依赖关系部分完全为空,则不支持.NET Core:




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

解决方案

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:

这篇关于如何知道nuget包将在.NET Core上工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆