如何知道 nuget 包是否适用于 .NET Core? [英] How to know will nuget package work on .NET Core?

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

问题描述

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

解决方案

不幸的是,现在这并不容易.有一个

如果包的 Dependencies 部分未提及 .NETStandard,或者 Dependencies 部分完全为空,则它不支持 .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天全站免登陆