简体   繁体   English

有没有办法按上次更新日期对 nuget.org 结果进行排序?

[英]Is there a way to sort nuget.org results by last updated date?

Is there a way to sort nuget.org results by last updated date so that recently updated packages show up first?有没有办法按上次更新日期对 nuget.org 结果进行排序,以便最近更新的包首先显示? I see no option to sort by anything.我看不到任何排序的选项。 In Visual Studio is fine too.在 Visual Studio 中也很好。

In Visual Studio is fine too.在 Visual Studio 中也很好。

Sorry but VS for now doesn't support sort nuget by last updated date .抱歉,VS 目前不支持按last updated date对 nuget 进行排序。

The nuget package manager in VS function once came from Nuget Package Manager extension, and so far it has been integrated into VS component. VS 功能中的 nuget 包管理器曾经来自 Nuget 包管理器扩展,目前已经集成到 VS 组件中。 In current version, no option in VS can change or manage this behavior.在当前版本中,VS 中没有任何选项可以更改或管理此行为。

For your requirements, I post one feature request in VS's user voice forum.根据您的要求,我在 VS 的用户语音论坛中发布了一项功能请求。 You can track it here and if it gets enough votes, the team would consider it seriously.您可以在此处对其进行跟踪,如果获得足够的选票,团队会认真考虑。 Hope it makes some help for you :)希望对你有所帮助:)

Update from zivkan's hint(set source as nuget.org):zivkan 的提示更新(将源设置为 nuget.org):

在此处输入图片说明

在此处输入图片说明

Similar to what zivkan describes below, the result order in VS PMUI is up to each nuget source's search service to determine the best order.与下面zivkan描述的类似,VS PMUI 中的结果顺序取决于每个 nuget 源的搜索服务来确定最佳顺序。 And it's obvious that we can't specify the order with last updated date .很明显,我们无法指定带有last updated date的订单。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM