dotnet / dotnet/vscode-dotnet-runtime

Bicep having issues loading .Net 5

Open
#239 2 comments 0 reactions 0 assignees View on GitHub
needs more info
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: & : File C:\Users\anonymous\.vscode\extensions\ms-dotnettools.vscode-dotnet-runtime-1.1.0\dist\install
scripts\dotnet-install.ps1 cannot be loaded because its operation is blocked by software restriction policies, such as
those created by using Group Policy.
At line:1 char:138
+ ... ::Tls12 ; & 'c:\Users\anonymous\.vscode\extensions\ms-dotnettools.vscode- ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : SecurityError: (:) [], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess

**Error Stack:** Error: .NET Acquisition Failed: Installation failed: & : File C:\Users\anonymous\.vscode\extensions\ms-dotnettools.vscode-dotnet-runtime-1.1.0\dist\install
scripts\dotnet-install.ps1 cannot be loaded because its operation is blocked by software restriction policies, such as
those created by using Group Policy.
At line:1 char:138
+ ... ::Tls12 ; & 'c:\Users\anonymous\.vscode\extensions\ms-dotnettools.vscode- ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : SecurityError: (:) [], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess

at c:\Users\anonymous\.vscode\extensions\ms-dotnettools.vscode-dotnet-runtime-1.1.0\dist\extension.js:2:13753
at processTicksAndRejections (internal/process/task_queues.js:93:5)

Please attach the log file located at c:\Users\GaryK\AppData\Roaming\Code\logs\20210606T150017\exthost1\ms-dotnettools.vscode-dotnet-runtime\DotNetAcquisition-ms-dotnettools.vscode-dotnet-runtime-1623017055992.txt. Note that this file may contain personal data.

The request log file was empty.

Privacy Alert! The contents copied to your clipboard may contain personal data. Prior to posting to GitHub, please remove any personal data which should not be publicly viewable. https://privacy.microsoft.com/en-US/privacystatement

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.