Skip to content

Failed to download .NET 8.0.10~x64~aspnetcore when it said it was Done? #2012

Closed
@o-o00o-o

Description

@o-o00o-o

Describe the bug.

Get error "Error aquiring .NET!" on vscode start

Log from .NET Install Tool is fairly unhelpful

ms-azuretools.vscode-azure-github-copilot requested to download the .NET ASP.NET Runtime.
Downloading .NET version(s) 8.0.10~x64~aspnetcore ........... Done!
.NET 8.0.10~x64~aspnetcore executable path: c:\Users\bgerhardi\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime\.dotnet\8.0.10~x64~aspnetcore\dotnet.exe


Error : (DotnetInstallationValidationError)
Failed to download .NET 8.0.10~x64~aspnetcore:
Validation of .dotnet installation for version {"installId":"8.0.10~x64~aspnetcore","version":"8.0.10","architecture":"x64","isGlobal":false,"installMode":"aspnetcore"} failed: Expected installation folder c:\Users\bgerhardi\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime\.dotnet\8.0.10~x64~aspnetcore does not exist.


Error : (DotnetCommandFailed)
Failed to download .NET 8.0.10~x64~aspnetcore:
.NET Acquisition Failed: Validation of .dotnet installation for version {"installId":"8.0.10~x64~aspnetcore","version":"8.0.10","architecture":"x64","isGlobal":false,"installMode":"aspnetcore"} failed: Expected installation folder c:\Users\bgerhardi\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime\.dotnet\8.0.10~x64~aspnetcore does not exist., Error: Validation of .dotnet installation for version {"installId":"8.0.10~x64~aspnetcore","version":"8.0.10","architecture":"x64","isGlobal":false,"installMode":"aspnetcore"} failed: Expected installation folder c:\Users\bgerhardi\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime\.dotnet\8.0.10~x64~aspnetcore does not exist.
    at c.assertOrThrowError (c:\Users\bgerhardi\.vscode\extensions\vscode-dotnet-runtime-library\dist\Acquisition\InstallationValidator.js:38:19)
    at c.validateDotnetInstall (c:\Users\bgerhardi\.vscode\extensions\vscode-dotnet-runtime-library\dist\Acquisition\InstallationValidator.js:18:18)
    at y.next (c:\Users\bgerhardi\.vscode\extensions\vscode-dotnet-runtime-library\dist\Acquisition\DotnetCoreAcquisitionWorker.js:251:43)
    at Generator.next (<anonymous>)
    at s (c:\Users\bgerhardi\.vscode\extensions\vscode-dotnet-runtime-library\dist\Acquisition\DotnetCoreAcquisitionWorker.js:5:58)

more detailed log attached

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

DotNetAcquisition-ms-dotnettools.vscode-dotnet-runtime-1731059151952.txt
The log file location should be copied to your clipboard if you came from VS Code.

Reproduction Steps

Open vscode, get error. It has been happeneing for several weeks. computer restart doesn't help

Expected Behavior

.net updated/installed successfully

Exceptions & Errors (if any)

No response

.NET Install Tool Version

8.0.10

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

Windows

VS Code Version

1.95.2 (user setup)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions