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

Open Dicao121 opened 5 months ago

Dicao121 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 (x86)\NVIDIA Corporation\PhysX\Common
C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\WINDOWS\System32\WindowsPowerShell\v1.0\
C:\WINDOWS\System32\OpenSSH\
C:\Program Files\dotnet\
C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\
C:\Program Files\Git\cmd
C:\Program Files\Git\mingw64\bin
C:\Program Files\Git\usr\bin
C:\Program Files\Docker\Docker\resources\bin
C:\Users\dicao\AppData\Local\Programs\Python\Python311\Scripts\
C:\Users\dicao\AppData\Local\Programs\Python\Python311\
C:\Users\dicao\AppData\Local\Microsoft\WindowsApps
C:\Users\dicao\AppData\Local\Programs\Microsoft VS Code\bin
C:\flutter_windows_3.10.6-stable\flutter\bin
C:\flutter\bin
C:\Users\dicao\.dotnet\tools
C:\xampp
C:\Program Files\MySQL\MySQL Server 8.0\bin

log:

[14:21:23] Downloading .NET SDK
[14:22:01] Installing .NET SDK
[14:22:01] Add .NET SDK to the path
[14:22:02] Error occurred
[14:22:02] 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\dicao\AppData\Roaming\.dotnet;%C")
ERRO: Acesso negado.