-
Notifications
You must be signed in to change notification settings - Fork 54
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 usage guide #84
Comments
You're right, we should add this. For now I'll explain it here: Arg 1 (Required): Runtime Name, meaning one of these three: "Microsoft.AspNetCore.App", "Microsoft.WindowsDesktop.App", "Microsoft.NETCore.App" If it returns 0 the runtime requirement is satisfied. Examples:
Important note: We will soon have an additional parameter to support specifying a roll forward policy, see #82 |
Fixed in the 6.0.0-preview.1.21179.1 version of the Microsoft.NET.Tools.NETCoreCheck NuGet packages Now that there's two optional parameters we had to change the syntax to require names for each parameter. Here's the current usage guide from running NETCoreCheck /?:
|
Uh, guys, why isn't NETCoreCheck working? $ ver
Microsoft Windows [Version 6.1.7601]
$ wget -O- https://www.nuget.org/api/v2/package/Microsoft.NET.Tools.NETCoreCheck.x64/5.0.0 | busybox unzip - -d C:\Test\Netcorecheck
$ cd C:\Test\Netcorecheck\win-x64
$ dir /b
NetCoreCheck.exe
NetCoreCheckCA.dll
$ NetCoreCheck.exe Nothing happens at all. |
I just tried the latest version on NuGet (7.0.0) and it works as expected. In this case, it shows the help: _PS C:\Users\lukewest\Downloads\microsoft.net.tools.netcorecheck.x64.7.0.0.nupkg\win-x64> .\NetCoreCheck.exe If runtimeconfigfile is specified then runtimename, runtimeversion and rollforwardpolicy shouldn't be. If 0 is returned the runtime requirement is satisfied. Examples: NETCorecheck --runtimename Microsoft.AspNetCore.App --runtimeversion 3.1.0 |
Like I said, nothing is displayed on my end. Maybe this program can't run on Windows 7, maybe it needs access to Workaround is to use the third-party app called DotNetVer. It runs flawlessly. |
Could you please provide NETCoreCheck usage guide or some other kind of documentation for it?
I downloaded release from NuGet, tried to launch both x86 and x64
NetCoreCheck.exe
, but the tool process exits immediately without any output. Passing/?
,-?
or--help
doesn't change a thing.The text was updated successfully, but these errors were encountered: