Skip to content
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

[NETE2ESDK][Windows].NET SDK could not be installed normally if run several installs at the same time #2173

Open
NicoleWang001 opened this issue Mar 12, 2025 · 0 comments

Comments

@NicoleWang001
Copy link
Member

NicoleWang001 commented Mar 12, 2025

Describe the bug.

.NET SDK 9.0.114 could not be installed normally if run several installs at the same time.

Please attach log file(s) here if you have any.

The log file location should be copied to your clipboard if you came from VS Code.

logs.zip

Reproduction Steps

  1. On Windows Run a command ‘.NET Install Tool: Install .NET SDK System-Wide' to install the .NET SDK and enter the newest version 9.0.201
  2. While this command is running, run the command ‘Sample: Acquire ASPNET Runtime’
  3. While this command is running, run the command ‘Sample” concurrently acquire 2.x runtimes’
  4. Run a command ‘.NET Install Tool: Install .NET SDK System-Wide' twice to install the .NET SDK 8.0.1xx and 9.0.1xx
  5. Observe the installation

Expected Behavior

All SDKs and Runtimes that required should be installed normally.

Exceptions & Errors (if any)

.NET SDK 9.0.104 is not list on 'dotnet --list-sdks' and 'C:\Program Files\dotnet\sdk' even shows installed succeed in output.

Image

Outputs:

user requested to download the .NET SDK.
Downloading .NET version(s) 9.0.201-global~x64 .............ms-dotnettools.sample-extension requested to download the .NET Runtime.
 -- Concurrent download of '6.0.36~x64' started!

Downloading .NET version(s) 9.0.201-global~x64, 6.0.36~x64 ...ms-dotnettools.sample-extension requested to download the .NET Runtime.
 -- Concurrent download of '7.0.20~x64' started!

Downloading .NET version(s) 9.0.201-global~x64, 6.0.36~x64, 7.0.20~x64 ...ms-dotnettools.sample-extension requested to download the .NET Runtime.
 -- Concurrent download of '8.0.14~x64' started!

Downloading .NET version(s) 9.0.201-global~x64, 6.0.36~x64, 7.0.20~x64, 8.0.14~x64 ...ms-dotnettools.sample-extension requested to download the .NET ASP.NET Runtime.
 -- Concurrent download of '7.0.20~x64~aspnetcore' started!

Downloading .NET version(s) 9.0.201-global~x64, 6.0.36~x64, 7.0.20~x64, 8.0.14~x64, 7.0.20~x64~aspnetcore ...ms-dotnettools.sample-extension requested to download the .NET ASP.NET Runtime.
 -- Concurrent download of '8.0.14~x64~aspnetcore' started!

Downloading .NET version(s) 9.0.201-global~x64, 6.0.36~x64, 7.0.20~x64, 8.0.14~x64, 7.0.20~x64~aspnetcore, 8.0.14~x64~aspnetcore ...ms-dotnettools.sample-extension requested to download the .NET ASP.NET Runtime.
 -- Concurrent download of '6.0.36~x64~aspnetcore' started!

Downloading .NET version(s) 9.0.201-global~x64, 6.0.36~x64, 7.0.20~x64, 8.0.14~x64, 7.0.20~x64~aspnetcore, 8.0.14~x64~aspnetcore, 6.0.36~x64~aspnetcore ............. Done!
.NET 6.0.36~x64 executable path: c:\Users\v-huwang\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime\.dotnet\6.0.36~x64\dotnet.exe

Still downloading .NET version(s) '9.0.201-global~x64', '7.0.20~x64', '8.0.14~x64', '7.0.20~x64~aspnetcore', '8.0.14~x64~aspnetcore', '6.0.36~x64~aspnetcore' ...ms-dotnettools.sample-extension requested to download the .NET Runtime.
 -- Concurrent download of '2.1.30~x64' started!

Downloading .NET version(s) 9.0.201-global~x64, 7.0.20~x64, 8.0.14~x64, 7.0.20~x64~aspnetcore, 8.0.14~x64~aspnetcore, 6.0.36~x64~aspnetcore, 2.1.30~x64 ...ms-dotnettools.sample-extension requested to download the .NET Runtime.
 -- Concurrent download of '2.2.8~x64' started!

Downloading .NET version(s) 9.0.201-global~x64, 7.0.20~x64, 8.0.14~x64, 7.0.20~x64~aspnetcore, 8.0.14~x64~aspnetcore, 6.0.36~x64~aspnetcore, 2.1.30~x64, 2.2.8~x64 ...ms-dotnettools.sample-extension requested to download the .NET Runtime.
 -- Concurrent download of '2.0.9~x64' started!

Downloading .NET version(s) 9.0.201-global~x64, 7.0.20~x64, 8.0.14~x64, 7.0.20~x64~aspnetcore, 8.0.14~x64~aspnetcore, 6.0.36~x64~aspnetcore, 2.1.30~x64, 2.2.8~x64, 2.0.9~x64 ... Done!
.NET 8.0.14~x64 executable path: c:\Users\v-huwang\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime\.dotnet\8.0.14~x64\dotnet.exe

Still downloading .NET version(s) '9.0.201-global~x64', '7.0.20~x64', '7.0.20~x64~aspnetcore', '8.0.14~x64~aspnetcore', '6.0.36~x64~aspnetcore', '2.1.30~x64', '2.2.8~x64', '2.0.9~x64' ... Done!
.NET 6.0.36~x64~aspnetcore executable path: c:\Users\v-huwang\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime\.dotnet\6.0.36~x64~aspnetcore\dotnet.exe

Still downloading .NET version(s) '9.0.201-global~x64', '7.0.20~x64', '7.0.20~x64~aspnetcore', '8.0.14~x64~aspnetcore', '2.1.30~x64', '2.2.8~x64', '2.0.9~x64' ......... Done!
.NET 7.0.20~x64~aspnetcore executable path: c:\Users\v-huwang\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime\.dotnet\7.0.20~x64~aspnetcore\dotnet.exe

Still downloading .NET version(s) '9.0.201-global~x64', '7.0.20~x64', '8.0.14~x64~aspnetcore', '2.1.30~x64', '2.2.8~x64', '2.0.9~x64' .... Done!
.NET 7.0.20~x64 executable path: c:\Users\v-huwang\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime\.dotnet\7.0.20~x64\dotnet.exe

Still downloading .NET version(s) '9.0.201-global~x64', '8.0.14~x64~aspnetcore', '2.1.30~x64', '2.2.8~x64', '2.0.9~x64' ...... Done!
.NET 8.0.14~x64~aspnetcore executable path: c:\Users\v-huwang\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime\.dotnet\8.0.14~x64~aspnetcore\dotnet.exe

Still downloading .NET version(s) '9.0.201-global~x64', '2.1.30~x64', '2.2.8~x64', '2.0.9~x64' ........ Done!
.NET 2.1.30~x64 executable path: c:\Users\v-huwang\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime\.dotnet\2.1.30~x64\dotnet.exe

Still downloading .NET version(s) '9.0.201-global~x64', '2.2.8~x64', '2.0.9~x64' ... Done!
.NET 2.2.8~x64 executable path: c:\Users\v-huwang\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime\.dotnet\2.2.8~x64\dotnet.exe

Still downloading .NET version(s) '9.0.201-global~x64', '2.0.9~x64' ... Done!
.NET 2.0.9~x64 executable path: c:\Users\v-huwang\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime\.dotnet\2.0.9~x64\dotnet.exe

Still downloading .NET version(s) '9.0.201-global~x64' ..........user requested to download the .NET SDK.
 -- Concurrent download of '8.0.114-global~x64' started!

Downloading .NET version(s) 9.0.201-global~x64, 8.0.114-global~x64 ................................. Done!
.NET 9.0.201-global~x64 executable path: C:\Program Files\dotnet\dotnet.exe

Still downloading .NET version(s) '8.0.114-global~x64' ..........................................user requested to download the .NET SDK.
 -- Concurrent download of '9.0.104-global~x64' started!

Downloading .NET version(s) 8.0.114-global~x64, 9.0.104-global~x64 .......... Done!
.NET 9.0.104-global~x64 executable path: C:\Program Files\dotnet\dotnet.exe

Still downloading .NET version(s) '8.0.114-global~x64' .......................................................................... Done!
.NET 8.0.114-global~x64 executable path: C:\Program Files\dotnet\dotnet.exe

.NET Install Tool Version

v2.2.9-b

Your operating system? Please provide more detail, such as the version and or distro above.

Windows

VS Code Version

1.98.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants