Open Spongman opened 2 days ago
This belongs to dotnet/sdk repo. Not sure why --allow-roll-forward
is not helping global tools either (which is new in .NET 9 https://github.com/dotnet/sdk/pull/37231). Maybe it requires https://github.com/dotnet/sdk/pull/38210?
Workaround is to install it locally with the manifest option:
# install it for this project once
$ dotnet tool install --local --create-manifest-if-needed dotnet-outdated-tool
# use it with `dotnet` executable
$ dotnet dotnet-outdated
Description
all the other issues realted to this error message are either closed, or contain irrelevant information.
this is a trivial repro case that shows that the scripted dotnet sdk install is fundamentally broken.
Reproduction Steps
run a rocky9 docker container:
in the container's bash prompt, run the following commands:
this will install the latest dotnet SDK, install a command (
dotnet-outdated-tool
), and attempt to run it.the entire output is: