Closed sethreidnz closed 4 years ago
@sethreidnz, thank you for finding this!
With .NET Core 2.2, both -g
and --global
work interchangeably on Linux/WIndows/macOS.
(see https://github.com/nwheels-io/NuLink/blob/master/appveyor.yml#L129 and https://github.com/nwheels-io/NuLink/blob/master/appveyor.yml#L57 in the CI script)
What OS and .NET Core version are you using, is it .NET Core 3.x?
Interesting I don't remember installing it but this is my output:
dotnet --version
3.0.100
And I am on:
@sethreidnz It looks like the issue was fixed in .NET Core 3.1 (I've just tested with 3.1.201, Windows 10 Pro), Nevertheless, as --global
seems to be safer than -g
, I'll also replace it in the NuGet docs.
@sethreidnz Thank you for this contribution!
When I first ran the command in the readme (without --global) I got the following error:
Then I noticed on the nuget package page it has the following:
This worked. I thought I'd do a PR to help other users in the future.