Open premun opened 3 years ago
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.
FYI @wli3
This is still happening on .NET 6 preview 7. I have the same repo, same script, fails on Windows 10 / Ubuntu WSL 2 and succeeds on MacOS 10.15.6
Some thought: The error in the end is "Input/output error". Looks like from OS. https://unix.stackexchange.com/questions/39905/input-output-error-when-accessing-a-directory
.NET 6 preview 2 fails to install dotnet tools on Linux in some paths and succeeds in other. I wasn't able to determine the key.
It succeeds to install to
/mnt/d/a
non-existent folder, it fails to install do/mnt/d/a/b
. I verified that long path support is on and it also succeeded to install to/mnt/d/aaaa
which is a longer path than/mnt/d/a/b
. I also tried creating/mnt/d/a
and installing into/mnt/d/a/b
and it also failed.Repro steps:
dotnet --info
returns:I see this happening across different machines and platforms (WSL, MacOS, AzDO Linux agents) but I still failed to determine when it would fail and when not. Path length doesn't seem to matter, I tried removing segments matching the package name or package version but the examples above show that these also doesn't matter.