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

Closed marypolish closed 4 months ago

marypolish 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 (x86)\Microsoft\Edge\Application
C:\Program Files\Microsoft\jdk-11.0.16.101-hotspot\bin
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\
E:\Git\cmd
C:\msys64\mingw64\bin
C:\Program Files\Microsoft SQL Server\150\Tools\Binn\
C:\Users\Public\Desktop
C:\Program Files\dotnet\
C:\Users\Мария\AppData\Local\Programs\Python\Python310\Scripts\
C:\Users\Мария\AppData\Local\Programs\Python\Python310\
C:\Users\Мария\AppData\Local\Microsoft\WindowsApps
C:\Program Files\JetBrains\IntelliJ IDEA Educational Edition 222.4167.41\bin
E:\c++\CLion 2023.3.1\bin
E:\Program Files\WebStorm 2023.3.4\bin
C:\Users\Мария\AppData\Local\Programs\Microsoft VS Code\bin
C:\Users\Мария\.dotnet\tools
C:\Program Files (x86)\GnuWin32\bin
C:\MinGW\bin
C:\MinGW\msys\1.0\bin

log:

[13:47:15] Downloading .NET SDK
[13:48:55] Installing .NET SDK
[13:48:55] Add .NET SDK to the path
[13:48:55] Error occurred
[13:48:55] 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\Мария\AppData\Roaming\.dotnet;%C")
ERROR: Access is denied.