Closed v-xiaofchen closed 9 months ago
The same error if try installing .NET SDK again, here is detailed steps:
On Redhat Run the sample command ‘Install .NET SDK Globally via .NET Install Tool (Former Runtime Extension)‘. Use the version it provided, which is 7.0.103. Hit enter. After 7.0.103 is installed succeed Try to install 7.0.103 again and observe the output
Hm. I really don't know why this is broken at a cursory check. resolvePathAsSymlink is set to false for the redhat provider and we only resolve the symlink if that's true. And regarding the install, It shouldn't be in bin, that's for sure. Will need to look more closely at this.
I think I have fixed this.
Checked and this issue is fixed.
Describe the bug.
Installing different version .net SDK failed as custom dotnet installation exists on Redhat.
Reproduction Steps
Expected Behavior
The SDK 7.0.103 is installed successfully.
Exceptions & Errors (if any)
Installing different version .net SDK failed as custom dotnet installation exists
Further technical details
OS: RHEL 9.3 and 8.9 VSCode: 1.85.1 Extensions: dotnet-install-tool-2.0.1
Note
This issue not repro on Ubuntu18.04,22.04 and 23.10.