dotnet / dotnet/vscode-dotnet-runtime

DotNetApp Extension Issue

Open
#1,574 0 comments 0 reactions 0 assignees View on GitHub
bug P2
Dominant language
TypeScript
Stars
209
Forks
455
PR merge metrics
No merged PRs in 30d

Description

When installing Dot Net App for VS Code, following happened

An error occurred while installing .NET: .NET Acquisition Failed: Installation failed: & : File C:\Users\Desmondsiu\.vscode\extensions\ms-dotnettools.vscode-dotnet-runtime-2.0.0\dist\install
scripts\dotnet-install.ps1 cannot be loaded. The contents of file
C:\Users\Desmondsiu\.vscode\extensions\ms-dotnettools.vscode-dotnet-runtime-2.0.0\dist\install
scripts\dotnet-install.ps1 might have been changed by an unauthorized user or process, because the hash of the file
does not match the hash stored in the digital signature. The script cannot run on the specified system. For more
information, run Get-Help about_Signing..
At line:1 char:137
+ ... ]::Tls12; & 'c:\Users\Desmondsiu\.vscode\extensions\ms-dotnettools.vs ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : SecurityError: (:) [], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess

## **Please attach log file(s) here if you have any:**
>❗ Privacy Alert! The contents in our log files 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

If you came here from VS Code, the log file location should be copied to the clipboard.

## Other Info:
Errors the extension may have encountered have likely been added to your terminal or VS Code windows. Please paste it/them here and describe what happened and the problem you are facing.

**Reproduction Steps**

**Expected behavior**

**Exceptions & Errors (if any)**

**Further technical details**
- Your VSCode Version

- The version of the extension that's on your machine

- Your operating system details

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.