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

Open danielnales opened 4 months ago

danielnales commented 4 months ago

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

version: 1.0.0 env:

PATH:
C:\Program Files\Common Files\Oracle\Java\javapath
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0\
C:\Windows\System32\OpenSSH\
C:\Program Files\Git\cmd
C:\Program Files\PowerShell\7\
C:\Program Files\Docker\Docker\resources\bin
C:\Program Files\dotnet\
C:\Program Files\Microsoft SQL Server\150\Tools\Binn\
C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\
C:\Users\Basic\AppData\Local\Microsoft\WindowsApps
C:\Users\Basic\AppData\Local\Programs\Microsoft VS Code\bin
C:\Program Files\Neovim\bin
C:\Users\Basic\.dotnet\tools

log:

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