Skip to content

Failed to acquire .NET runtime #68

@IAM5K

Description

@IAM5K

Does this occur consistently? Yes
Repro steps:

  1. Open the vs code
  2. Run a project from Microsoft Teams Toolkit

Action: azextAgent.activate
Error type: Error
Error Message: Failed to acquire .NET runtime
Error Log:

Error : (DotnetAcquisitionInstallError)
Failed to download .NET 8.0.11~x64~aspnetcore:
.NET install timed out.
You should change the timeout if you have a slow connection. See: https://github.com/dotnet/vscode-dotnet-runtime/blob/main/Documentation/troubleshooting-runtime.md#install-script-timeouts.
Our CDN may be blocked in China or experience significant slowdown, in which case you should install .NET manually., MESSAGE: Command failed: "/home/iam5k/.vscode/extensions/ms-dotnettools.vscode-dotnet-runtime-2.2.3/dist/install scripts/dotnet-install.sh" -InstallDir "/home/iam5k/.config/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/8.0.11~x64~aspnetcore" -Version 8.0.11 -Verbose -Runtime aspnetcore -Architecture x64
dotnet_install: Error: Could not find `ASP.NET Core Runtime` with version = 8.0.11
dotnet_install: Error: Refer to: https://aka.ms/dotnet-os-lifecycle for information on .NET Core support
, CODE: 1, SIGNAL: null


Error : (DotnetCommandFailed)
Failed to download .NET 8.0.11~x64~aspnetcore:
.NET Acquisition Failed: .NET install timed out.
You should change the timeout if you have a slow connection. See: https://github.com/dotnet/vscode-dotnet-runtime/blob/main/Documentation/troubleshooting-runtime.md#install-script-timeouts.
Our CDN may be blocked in China or experience significant slowdown, in which case you should install .NET manually., MESSAGE: Command failed: "/home/iam5k/.vscode/extensions/ms-dotnettools.vscode-dotnet-runtime-2.2.3/dist/install scripts/dotnet-install.sh" -InstallDir "/home/iam5k/.config/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/8.0.11~x64~aspnetcore" -Version 8.0.11 -Verbose -Runtime aspnetcore -Architecture x64
dotnet_install: Error: Could not find `ASP.NET Core Runtime` with version = 8.0.11
dotnet_install: Error: Refer to: https://aka.ms/dotnet-os-lifecycle for information on .NET Core support
, CODE: 1, SIGNAL: null, Error: .NET install timed out.
You should change the timeout if you have a slow connection. See: https://github.com/dotnet/vscode-dotnet-runtime/blob/main/Documentation/troubleshooting-runtime.md#install-script-timeouts.
Our CDN may be blocked in China or experience significant slowdown, in which case you should install .NET manually., MESSAGE: Command failed: "/home/iam5k/.vscode/extensions/ms-dotnettools.vscode-dotnet-runtime-2.2.3/dist/install scripts/dotnet-install.sh" -InstallDir "/home/iam5k/.config/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/8.0.11~x64~aspnetcore" -Version 8.0.11 -Verbose -Runtime aspnetcore -Architecture x64
dotnet_install: Error: Could not find `ASP.NET Core Runtime` with version = 8.0.11
dotnet_install: Error: Refer to: https://aka.ms/dotnet-os-lifecycle for information on .NET Core support
, CODE: 1, SIGNAL: null
    at f.next (/home/iam5k/.vscode/extensions/vscode-dotnet-runtime-library/dist/Acquisition/AcquisitionInvoker.js:69:50)
    at Generator.next (<anonymous>)
    at s (/home/iam5k/.vscode/extensions/vscode-dotnet-runtime-library/dist/Acquisition/AcquisitionInvoker.js:5:58)

Version: 0.3.61
OS: linux
OS Release: 6.8.0-51-generic
Product: Visual Studio Code
Product Version: 1.96.2
Language: en

Call Stack
extension.bundle.js:2:1804577
fulfilled extension.bundle.js:2:1803733

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions