-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Installing 8.0 version of dotnet-dump fails. Possible regression. #37857
Installing 8.0 version of dotnet-dump fails. Possible regression. #37857
Comments
This worked in .NET 7 because of the way .NET tools were implemented under the covers - the version you specified was written to a hidden C# project, and that project had the Restore target run against it. This resulted in NuGet resolving the under-specified version to a specific version, which was then downloaded. In .NET 8, for performance and reliability reasons, we moved to explicitly downloading packages from configured package feeds using the NuGet APIs. The version the user passed in was inferred as This means, right now, your previous pattern won't work anymore. We need to do some design work to cover all of these scenarios in one. |
As a workaround, you can use |
The proposal from triage is to treat a three part version as an exact version and include unlisted and treat all other versions (like 8.0) as a version range and don't include unlisted. We are nervous about automatically including unlisted when searching a range as customers may want to remove a package after finding an issue in it. For now, we think we may just improve the documentation and wait for feedback. There will be a separate bug for improving the error experience to not include the callstack. |
Also experiencing this as a regression against this and many other tools, the full list includes (though is not likely limited to)
The previous behaviour is that |
Describe the bug
We use the following command to install

dotnet-dump
tool in our container image. This has been working fine until yesterday but seems like there was an update to the 8.0 image today that is breaking this.dotnet tool install --tool-path /tools dotnet-dump --version 8.0
To Reproduce
Example output:
Exceptions (if any)
Further technical details
dotnet --info
This is inside a
8.0-cbl-mariner2.0
docker containerThe text was updated successfully, but these errors were encountered: