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 #804

Open gitgirl0100 opened 6 months ago

gitgirl0100 commented 6 months ago

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

version: 1.0.0 env:

PATH:
C:\Program Files (x86)\Microsoft\Edge\Application
C:\Program Files\Eclipse Foundation\jdk-8.0.302.8-hotspot\bin
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\WINDOWS\System32\WindowsPowerShell\v1.0\
C:\WINDOWS\System32\OpenSSH\
C:\Program Files\Microsoft SQL Server\130\Tools\Binn\
C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\
C:\Program Files\Git\cmd
C:\Program Files\dotnet\
C:\Users\smcdo\AppData\Local\Microsoft\WindowsApps
C:\Users\smcdo\AppData\Local\Programs\Microsoft VS Code\bin
C:\Users\smcdo\AppData\Local\GitHubDesktop\bin
C:\Users\smcdo\.dotnet\tools
C:\msys64\ucrt64\bin
C:\Users\smcdo\AppData\Local\Google\Cloud SDK\google-cloud-sdk\bin

log:

[10:12:26 PM] Downloading .NET SDK
[10:12:42 PM] Installing .NET SDK
[10:12:42 PM] Add .NET SDK to the path
[10:12:42 PM] Error occurred
[10:12:42 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\smcdo\AppData\Roaming\.dotnet;%C")
ERROR: Access is denied.