-
Notifications
You must be signed in to change notification settings - Fork 96
Closed
Description
I'm using the .NET Install Tool
in VS Code as it came bundled with the Bicep plugin. When opening a Bicep file the Bicep plugin wants to initialize itself but fails to do so due to the error below.
Although the error says it's a timeout issue I suspect that this is not the case. The timeout is already quite high (600 seconds) and the command fails within a matter of seconds. Also no company VPN or such is being used.
macOS: 15.4.1
VS Code: 1.99.3
Bicep Plugin: 0.34.44
.NET Install Tool: 2.3.3
ms-azuretools.vscode-azure-github-copilot: Trying to install .NET 8.0.15~arm64~aspnetcore but it already exists. No downloads or changes were made.
ms-azuretools.vscode-azure-github-copilot tried to install .NET 8.0.15~arm64~aspnetcore but that install had already been requested. No downloads or changes were made.
ms-azuretools.vscode-bicep requested to download the .NET Runtime.
Downloading .NET version(s) 8.0.15~arm64 ...
Could not find the architecture of the dotnet host /Users/USERNAME/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/8.0.15~arm64/dotnet. If this host does not match the architecture arm64:
Please set the PATH to a dotnet host that matches the architecture arm64. An incorrect architecture will cause instability for the extension undefined.
...........
Error : (DotnetAcquisitionFinalError)
Failed to download .NET 8.0.15~arm64:
.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: "/Users/USERNAME/.vscode/extensions/ms-dotnettools.vscode-dotnet-runtime-2.3.3/dist/install scripts/dotnet-install.sh" -InstallDir "/Users/USERNAME/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/8.0.15~arm64" -Version 8.0.15 -Verbose -Runtime dotnet -Architecture arm64
cp: /var/folders/h0/3_gqlxds3cb6x9fmb3mdz1840000gn/T//dotnet.viqi3A7Rs/\033[1;31m\033[K/var/folders/h0/3_gqlxds3cb6x9fmb3mdz1840000gn/T//dotnet.viqi3A7Rs/host/fxr/8.0.15/\033[m\033[K: No such file or directory
cp: /var/folders/h0/3_gqlxds3cb6x9fmb3mdz1840000gn/T//dotnet.viqi3A7Rs/\033[1;31m\033[K/var/folders/h0/3_gqlxds3cb6x9fmb3mdz1840000gn/T//dotnet.viqi3A7Rs/shared/Microsoft.NETCore.App/8.0.15/\033[m\033[K: No such file or directory
dotnet_install: Error: Failed to verify the version of installed `.NET Core Runtime`.
Installation source: https://builds.dotnet.microsoft.com/dotnet/Runtime/8.0.15/dotnet-runtime-8.0.15-osx-arm64.tar.gz.
Installation location: /Users/USERNAME/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/8.0.15~arm64.
Report the bug at https://github.com/dotnet/install-scripts/issues.
dotnet_install: Error: `.NET Core Runtime` with version = 8.0.15 failed to install with an error.
, 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: "/Users/USERNAME/.vscode/extensions/ms-dotnettools.vscode-dotnet-runtime-2.3.3/dist/install scripts/dotnet-install.sh" -InstallDir "/Users/USERNAME/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/8.0.15~arm64" -Version 8.0.15 -Verbose -Runtime dotnet -Architecture arm64
cp: /var/folders/h0/3_gqlxds3cb6x9fmb3mdz1840000gn/T//dotnet.viqi3A7Rs/\033[1;31m\033[K/var/folders/h0/3_gqlxds3cb6x9fmb3mdz1840000gn/T//dotnet.viqi3A7Rs/host/fxr/8.0.15/\033[m\033[K: No such file or directory
cp: /var/folders/h0/3_gqlxds3cb6x9fmb3mdz1840000gn/T//dotnet.viqi3A7Rs/\033[1;31m\033[K/var/folders/h0/3_gqlxds3cb6x9fmb3mdz1840000gn/T//dotnet.viqi3A7Rs/shared/Microsoft.NETCore.App/8.0.15/\033[m\033[K: No such file or directory
dotnet_install: Error: Failed to verify the version of installed `.NET Core Runtime`.
Installation source: https://builds.dotnet.microsoft.com/dotnet/Runtime/8.0.15/dotnet-runtime-8.0.15-osx-arm64.tar.gz.
Installation location: /Users/USERNAME/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/8.0.15~arm64.
Report the bug at https://github.com/dotnet/install-scripts/issues.
dotnet_install: Error: `.NET Core Runtime` with version = 8.0.15 failed to install with an error.
, CODE: 1, SIGNAL: null
at y.next (/Users/USERNAME/.vscode/extensions/vscode-dotnet-runtime-library/dist/Acquisition/AcquisitionInvoker.js:106:54)
at Generator.next (<anonymous>)
at s (/Users/USERNAME/.vscode/extensions/vscode-dotnet-runtime-library/dist/Acquisition/AcquisitionInvoker.js:5:58)
Error : (DotnetRuntimeFinalAcquisitionError)
Metadata
Metadata
Assignees
Labels
No labels