-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[NetCoreCheck] Provide a way to check a range of versions #108
Comments
@Deilan This is not entirely accurate. The point of NETCoreCheck is to answer the question "My app needs runtime x version y and (optionally) has roll-forward policy z, can it run on this machine?" So while this request is not exactly inline with the goals of NETCoreCheck, it can still answer all the questions posed above, for example (assuming requested framework is Windows Desktop):
Important Note: The version of NETCoreCheck that supports the roll-forward policy argument (#82) hasn't been published yet, meaning the third and fourth examples aren't yet possible without building NETCoreCheck yourself. I'll follow up on that and reply back here once it's done. Edit: The 6.0.0-preview.1.21179.1 version of the Microsoft.NET.Tools.NETCoreCheck NuGet packages includes support for roll-forward policy. I've updated the sample arguments above to account for the new syntax. |
Where is the NetCoreCheck docs? |
@GF-Huang It's a simple enough tool that the help output pretty much covers it. The sole purpose of NETCoreCheck is to check if the specified runtime requirement is met on the machine. Here's the help output:
|
Currently NetCoreCheck could be used to check whether is specific version of runtime is installed.
Would be also convenient to check whether any version within provided range is installed, e.g.:
3.x
,3.1.x
,>=3.0.0
,>=5.0.0 < 5.1
, etc.The text was updated successfully, but these errors were encountered: