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

Open shaosha-huang opened 5 months ago

shaosha-huang commented 5 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\Python\Scripts\
C:\Program Files\Python\
C:\Program Files (x86)\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\Dell\Dell Data Protection\Encryption\
C:\Program Files\dotnet\
C:\Program Files\WindowsPowerShell\Scripts\HP.ClientScriptLibrary
C:\Users\M032508\AppData\Local\miniforge3
C:\Users\M032508\AppData\Local\miniforge3\Library\mingw-w64\bin
C:\Users\M032508\AppData\Local\miniforge3\Library\usr\bin
C:\Users\M032508\AppData\Local\miniforge3\Library\bin
C:\Users\M032508\AppData\Local\miniforge3\Scripts
C:\Users\M032508\AppData\Local\Microsoft\WindowsApps
C:\Users\M032508\AppData\Local\Programs\Microsoft VS Code\bin

log:

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