dotnet / vscode-dotnet-pack

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

v1.0.0 error win32 x64 #781

Open Corn-IT opened 6 months ago

Corn-IT commented 6 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:\Users\ngomi\AppData\Local\Microsoft\WindowsApps

log:

[5:56:40 PM] Downloading .NET SDK
[5:56:46 PM] Installing .NET SDK
[5:56:46 PM] Add .NET SDK to the path
[5:56:46 PM] Error occurred
[5:56:46 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\ngomi\AppData\Roaming\.dotnet;%C")
ERROR: Access is denied.