dotnet / dotnet/vscode-dotnet-runtime
.NET Installation error
- Dominant language
- TypeScript
- Stars
- 209
- Forks
- 455
- PR merge metrics
- No merged PRs in 30d
Description
**Repro steps:**
1.
**Extension Version:** 1.0.0
**Error Message:** .NET Acquisition Failed: Installation failed: Error: Command failed: powershell.exe -NoProfile -ExecutionPolicy unrestricted -Command "& { [Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12 ; & 'c:\Users\anonymous\.vscode\extensions\ms-dotnettools.vscode-dotnet-runtime-1.6.0\dist\install scripts\dotnet-install.ps1' -InstallDir 'c:\Users\anonymous\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime\.dotnet\6.0.13' -Version 6.0.13 -Runtime dotnet }
'powershell.exe' is not recognized as an internal or external command,
operable program or batch file.
**Error Stack:** Error: .NET Acquisition Failed: Installation failed: Error: Command failed: powershell.exe -NoProfile -ExecutionPolicy unrestricted -Command "& { [Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12 ; & 'c:\Users\anonymous\.vscode\extensions\ms-dotnettools.vscode-dotnet-runtime-1.6.0\dist\install scripts\dotnet-install.ps1' -InstallDir 'c:\Users\anonymous\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime\.dotnet\6.0.13' -Version 6.0.13 -Runtime dotnet }
'powershell.exe' is not recognized as an internal or external command,
operable program or batch file.
at c:\Users\anonymous\.vscode\extensions\ms-dotnettools.vscode-dotnet-runtime-1.6.0\dist\extension.js:2:4766
**Repro steps:**
1.
**Extension Version:** 1.0.0
**Error Message:** .NET Acquisition Failed: Installation failed: Error: Command failed: powershell.exe -NoProfile -ExecutionPolicy unrestricted -Command "& { [Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12 ; & 'c:\Users\anonymous\.vscode\extensions\ms-dotnettools.vscode-dotnet-runtime-1.6.0\dist\install scripts\dotnet-install.ps1' -InstallDir 'c:\Users\anonymous\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime\.dotnet\6.0.13' -Version 6.0.13 -Runtime dotnet }
'powershell.exe' is not recognized as an internal or external command,
operable program or batch file.
**Error Stack:** Error: .NET Acquisition Failed: Installation failed: Error: Command failed: powershell.exe -NoProfile -ExecutionPolicy unrestricted -Command "& { [Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12 ; & 'c:\Users\anonymous\.vscode\extensions\ms-dotnettools.vscode-dotnet-runtime-1.6.0\dist\install scripts\dotnet-install.ps1' -InstallDir 'c:\Users\anonymous\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime\.dotnet\6.0.13' -Version 6.0.13 -Runtime dotnet }
'powershell.exe' is not recognized as an internal or external command,
operable program or batch file.
at c:\Users\anonymous\.vscode\extensions\ms-dotnettools.vscode-dotnet-runtime-1.6.0\dist\extension.js:2:4766
[DotNetAcquisition-ms-dotnettools.vscode-dotnet-runtime-1675179759559.txt](https://github.com/dotnet/vscode-dotnet-runtime/files/10548233/DotNetAcquisition-ms-dotnettools.vscode-dotnet-runtime-1675179759559.txt)
[DotNetAcquisition-ms-dotnettools.vscode-dotnet-runtime-1675179942386.txt](https://github.com/dotnet/vscode-dotnet-runtime/files/10548234/DotNetAcquisition-ms-dotnettools.vscode-dotnet-runtime-1675179942386.txt)
[DotNetAcquisition-ms-dotnettools.vscode-dotnet-runtime-1675179961406.txt](https://github.com/dotnet/vscode-dotnet-runtime/files/10548235/DotNetAcquisition-ms-dotnettools.vscode-dotnet-runtime-1675179961406.txt)
[DotNetAcquisition-ms-dotnettools.vscode-dotnet-runtime-1675180136415.txt](https://github.com/dotnet/vscode-dotnet-runtime/files/10548236/DotNetAcquisition-ms-dotnettools.vscode-dotnet-runtime-1675180136415.txt)
Contributor guide
Assessment
This issue has not been assessed yet.