dotnet / vscode-dotnet-pack

.NET Extension Pack for VSCode. The best of C#, F#, and .NET Interactive.
MIT License
32 stars 22 forks source link

v1.0.0 error win32 x64 #833

Open aklangy1 opened 5 months ago

aklangy1 commented 5 months ago

:warning:Please attach %TEMP%\vscode-dotnet-installer\log.txt for more details.

version: 1.0.0 env:

PATH:
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\WINDOWS\System32\WindowsPowerShell\v1.0\
C:\WINDOWS\System32\OpenSSH\
C:\Program Files\Microsoft VS Code\bin
C:\Program Files\Git\cmd
C:\Program Files\dotnet\
C:\Users\user\AppData\Local\Microsoft\WindowsApps
C:\Users\user\AppData\Local\Programs\Microsoft VS Code\bin
C:\msys64\ucrt64\bin
C:\Users\user\.dotnet\tools

log:

[12:55:30 PM] Downloading .NET SDK
[12:57:55 PM] Installing .NET SDK
[12:57:55 PM] Add .NET SDK to the path
[12:57:58 PM] Error occurred
[12:57:58 PM] Error: Command failed: for /F "skip=2 tokens=1,2*" %A in ('%SystemRoot%\System32\reg.exe query "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v "Path" 2^>nul') do (%SystemRoot%\System32\reg.exe ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v Path /t REG_SZ /f /d "C:\Users\user\AppData\Roaming\.dotnet;%C")
ERROR: Access is denied.