dotnet / dotnet/vscode-dotnet-runtime

Missing Powershell

Open
#2,449 1 comment 0 reactions 0 assignees View on GitHub
cause:powershell-not-found needs more info untriaged
Dominant language
TypeScript
Stars
209
Forks
455
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug.

ms-azuretools.vscode-azure-github-copilot requested to download the .NET ASP.NET Runtime.
Downloading .NET version(s) 8.0.21~x64~aspnetcore ...
Error : (DotnetAcquisitionFinalError)
Failed to download .NET 8.0.21~x64~aspnetcore:
.NET Acquisition Failed: powershell is not discoverable on your system. Is PowerShell added to your PATH and correctly installed? Please visit: https://aka.ms/install-powershell

You will need to restart VS Code after these changes. If PowerShell is still not discoverable, try setting a custom existingDotnetPath following our instructions here: https://github.com/dotnet/vscode-dotnet-runtime/blob/main/Documentation/troubleshooting-runtime.md., Error: powershell is not discoverable on your system. Is PowerShell added to your PATH and correctly installed? Please visit: https://aka.ms/install-powershell

You will need to restart VS Code after these changes. If PowerShell is still not discoverable, try setting a custom existingDotnetPath following our instructions here: https://github.com/dotnet/vscode-dotnet-runtime/blob/main/Documentation/troubleshooting-runtime.md.
at x. (c:\Users\Selin\.cursor\extensions\vscode-dotnet-runtime-library\dist\Acquisition\AcquisitionInvoker.js:124:38)
at Generator.throw ()
at a (c:\Users\Selin\.cursor\extensions\vscode-dotnet-runtime-library\dist\Acquisition\AcquisitionInvoker.js:6:64)
at processTicksAndRejections (node:internal/process/task_queues:95:5)

Error : (DotnetASPNetRuntimeFinalAcquisitionError)
ms-azuretools.vscode-azure-github-copilot requested to download the .NET ASP.NET Runtime.
Downloading .NET version(s) 8.0.21~x64~aspnetcore ...
Error : (DotnetAcquisitionFinalError)
Failed to download .NET 8.0.21~x64~aspnetcore:
.NET Acquisition Failed: powershell is not discoverable on your system. Is PowerShell added to your PATH and correctly installed? Please visit: https://aka.ms/install-powershell

You will need to restart VS Code after these changes. If PowerShell is still not discoverable, try setting a custom existingDotnetPath following our instructions here: https://github.com/dotnet/vscode-dotnet-runtime/blob/main/Documentation/troubleshooting-runtime.md., Error: powershell is not discoverable on your system. Is PowerShell added to your PATH and correctly installed? Please visit: https://aka.ms/install-powershell

You will need to restart VS Code after these changes. If PowerShell is still not discoverable, try setting a custom existingDotnetPath following our instructions here: https://github.com/dotnet/vscode-dotnet-runtime/blob/main/Documentation/troubleshooting-runtime.md.
at x. (c:\Users\Selin\.cursor\extensions\vscode-dotnet-runtime-library\dist\Acquisition\AcquisitionInvoker.js:124:38)
at Generator.throw ()
at a (c:\Users\Selin\.cursor\extensions\vscode-dotnet-runtime-library\dist\Acquisition\AcquisitionInvoker.js:6:64)
at processTicksAndRejections (node:internal/process/task_queues:95:5)

Error : (DotnetASPNetRuntimeFinalAcquisitionError)

### 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.

### Reproduction Steps

-

### Expected Behavior

-

### Exceptions & Errors (if any)

-

### .NET Install Tool Version

-

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

N/A

### VS Code Version

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.