You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue Description:
When installing dotnet tools with "gti -c install" command, it tries to re-install the tools which already installed and gets access deny error for gti tool installation.
Repro steps: The machine only has dotnet-sdk-8.0.311 installed. And environment variable DOTNET_ROLL_FORWARD_ON_NO_CANDIDATE_FX set as 2.
1.Open command prompt window.
2. Execute "dotnet tool install –g gti" command.
3. Navigate to a local folder with "cd {localfolderpath}" command
4. Execute "gti –c save" command.
5. Execute "gti –c install" command.
Expected Result:
"Tool is already installed" message should show if the tools were installed before.
Actual Result:
Get access deny error as it tries to re-install the tools which already installed.
Findings:
We filed this issue before, and it was closed with label "needs team triage" and seems out of track. So, file a new bug for tracking.
In your other (closed) issue, it sounded like you were referring to #41746; is that right? And you just want that to be backported to 8.0.3xx and/or 8.0.4xx? I'm not convinced it's worth backporting that, but I'll add @baronfel in case he disagrees.
@Forgind Yes. We think it should be also backported to 8.0.3xx and 8.0.4xx. Originally, it reproduced on 8.0.2xx and 9.0, it had been fixed on .NET 9.0 by #41746, but not 8.0.2xx. Now it doesn't work on 8.0.3xx and 8.0.4xx either.
Application Name: GlobalToolsNETCore21Part02
OS: Windows 10 21H2
CPU: X64
.NET Build Number: dotnet-sdk-8.0.311-win-64
Also can check the information from: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2428298
Verify Scenarios:
Windows10 21h2 x64 + dotnet-sdk-8.0.115: Pass
Windows10 21h2 x64 + dotnet-sdk-8.0.311: Fail
Windows10 21h2 x64 + dotnet-sdk-8.0.408: Fail
Issue Description:
When installing dotnet tools with "gti -c install" command, it tries to re-install the tools which already installed and gets access deny error for gti tool installation.
Repro steps:
The machine only has dotnet-sdk-8.0.311 installed. And environment variable DOTNET_ROLL_FORWARD_ON_NO_CANDIDATE_FX set as 2.
1.Open command prompt window.
2. Execute "dotnet tool install –g gti" command.
3. Navigate to a local folder with "cd {localfolderpath}" command
4. Execute "gti –c save" command.
5. Execute "gti –c install" command.
Expected Result:
"Tool is already installed" message should show if the tools were installed before.
Actual Result:
Get access deny error as it tries to re-install the tools which already installed.
Findings:
We filed this issue before, and it was closed with label "needs team triage" and seems out of track. So, file a new bug for tracking.
[dotnet-sdk-8.0.200] dotnet tool install command get access deny message · Issue #38354 · dotnet/sdk
This should be same as this issue dotnet tool install --global reinstalls even if the same version is already present which has been fixed since .NET 9 Preview 7 via PR Avoid reinstall tool already installed
DotNet Info:
@dotnet-actwx-bot @dotnet/compat
The text was updated successfully, but these errors were encountered: