简体   繁体   English

如何找到 nuget package 的最高版本以确保其依赖项包含特定的框架版本?

[英]How to find the highest version of a nuget package to ensure its dependencies contain a specific framework version?

I'm about to download WireMock.net , but I need to use this package in a project with version 4.5 framework, and the latest version of WireMock.net does not support net45, and I don't know which higher version supports net45?我正要下载WireMock.net ,但是我需要在4.5版本框架的项目中使用这个package,而且最新版本的WireMock.net不支持net45,不知道哪个更高版本支持net45? How to find it?如何找到它? Is there any command to look for?有什么命令要找吗? I can only click one by one to view it.我只能一一点击查看。

By the way, Is .net's mock server best practice WireMock.net?顺便问一下,.net 的模拟服务器是 WireMock.net 的最佳实践吗?

The lowest .NET Full Framework which is supported by WireMock.Net is indeed 4.5.1 . WireMock.Net 支持的最低.NET Full Framework 确实是4.5.1

These frameworks are supported:支持以下框架:

  • net451净451
  • net452网452
  • net46网46
  • net461网461
  • netstandard1.3网络标准1.3
  • netstandard2.0网络标准2.0
  • netstandard2.1网络标准2.1
  • netcoreapp3.1 netcoreapp3.1
  • net5.0 net5.0
  • net6.0网6.0

So you need to upgrade your test project to one of these versions, there is no need to upgrade your main project.因此,您需要将您的测试项目升级到这些版本之一,无需升级您的主项目。

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

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