Open gjhommersom opened 2 years ago
I ran into this as well. The package folder exists on disk, with the version part all in lower case. The installation looks for it with the upper case and fails. I tried specifying the version in lower case, but that did not help; I presume the version used in the path comes from the feed. The only work around I found was to rename the on-disk folder to have the correct casing, but that is an awful contortion to go through.
Ran into this as well. Only way around this is to rename the folder as specified above or release a new version with lower case.
Describe the bug
Running
dotnet tool install --version
with a version that contains an uppercase the installation fails.To Reproduce
docker run -it mcr.microsoft.com/dotnet/sdk sh
dotnet new tool-manifest --name=test
dotnet tool install MyTool --version 1.2.10-20220317T100234.git-58c4dfc
Important to note is that the directory where the package is installed uses lowercase for the version. The executed command seems to use the uppercase (see exception).
Issue does not reproduce on Windows.
Exceptions (if any)
Further technical details