Skip to content

Cannot install .NET #2775

Description

@Rowan-Spec

Describe the bug.

Please attach the log file located at c:\Users\caishuangyang\AppData\Roaming\Code\logs\20260813T103238\window1\exthost\ms-dotnettools.vscode-dotnet-runtime\DotNetAcquisition-ms-dotnettools.vscode-dotnet-runtime-1786589113204.txt. Note that this file may contain personal data.

Extension Version: 3.1.0
Error Message: No internet connection detected: Cannot install .NET
Error Stack: Error: No internet connection detected: Cannot install .NET
at y. (c:\Users\anonymous.vscode\extensions\ms-dotnettools.vscode-dotnet-runtime-3.1.0\dist\extension.js:2:5383)
at Generator.next ()
at s (c:\Users\anonymous.vscode\extensions\ms-dotnettools.vscode-dotnet-runtime-3.1.0\dist\extension.js:2:454)

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

It looks like you may be offline (can you connect to www.microsoft.com?) and have no compatible installations of .NET 10.0 for ms-dotnettools.upgrade-agent.
Installation will timeout in 600 seconds.
ms-dotnettools.upgrade-agent requested to download the .NET Runtime.
Downloading .NET version(s) 10.0.400x64 ..........................................................................................................................................................................................................
Error : (DotnetOfflineFailure)
Failed to download .NET 10.0.400
x64:
No internet connection detected: Cannot install .NET

Error : (DotnetCommandFailed)

Error : (DotnetAcquisitionFinalError)

Reproduction Steps

It looks like you may be offline (can you connect to www.microsoft.com?) and have no compatible installations of .NET 10.0 for ms-dotnettools.upgrade-agent.
Installation will timeout in 600 seconds.
ms-dotnettools.upgrade-agent requested to download the .NET Runtime.
Downloading .NET version(s) 10.0.400x64 ..........................................................................................................................................................................................................
Error : (DotnetOfflineFailure)
Failed to download .NET 10.0.400
x64:
No internet connection detected: Cannot install .NET

Error : (DotnetCommandFailed)

Error : (DotnetAcquisitionFinalError)

Expected Behavior

It looks like you may be offline (can you connect to www.microsoft.com?) and have no compatible installations of .NET 10.0 for ms-dotnettools.upgrade-agent.
Installation will timeout in 600 seconds.
ms-dotnettools.upgrade-agent requested to download the .NET Runtime.
Downloading .NET version(s) 10.0.400x64 ..........................................................................................................................................................................................................
Error : (DotnetOfflineFailure)
Failed to download .NET 10.0.400
x64:
No internet connection detected: Cannot install .NET

Error : (DotnetCommandFailed)

Error : (DotnetAcquisitionFinalError)

Exceptions & Errors (if any)

It looks like you may be offline (can you connect to www.microsoft.com?) and have no compatible installations of .NET 10.0 for ms-dotnettools.upgrade-agent.
Installation will timeout in 600 seconds.
ms-dotnettools.upgrade-agent requested to download the .NET Runtime.
Downloading .NET version(s) 10.0.400x64 ..........................................................................................................................................................................................................
Error : (DotnetOfflineFailure)
Failed to download .NET 10.0.400
x64:
No internet connection detected: Cannot install .NET

Error : (DotnetCommandFailed)

Error : (DotnetAcquisitionFinalError)

.NET Install Tool Version

It looks like you may be offline (can you connect to www.microsoft.com?) and have no compatible installations of .NET 10.0 for ms-dotnettools.upgrade-agent. Installation will timeout in 600 seconds. ms-dotnettools.upgrade-agent requested to download the .NET Runtime. Downloading .NET version(s) 10.0.400x64 .......................................................................................................................................................................................................... Error : (DotnetOfflineFailure) Failed to download .NET 10.0.400x64: No internet connection detected: Cannot install .NET Error : (DotnetCommandFailed) Error : (DotnetAcquisitionFinalError)

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

N/A

VS Code Version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions