dotnet / dotnet/vscode-dotnet-runtime
Installation: .NET not found failure
- Dominant language
- TypeScript
- Stars
- 209
- Forks
- 455
- PR merge metrics
- No merged PRs in 30d
Description
**Repro steps:**
1.
**Extension Version:** 1.0.0
**Error Message:** .NET Acquisition Failed: Installation failed: C:\Users\smitm\.vscode\extensions\ms-dotnettools.vscode-dotnet-runtime-1.5.0\dist\install scripts\dotnet-install.ps1 :
Exception calling "ExtractToFile" with "3" argument(s): "The process cannot access the file 'C:\Users\smitm\AppData\Roa
ming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime\.dotnet\6.0.0\dotnet.exe' because it is being used by
another process."
At line:1 char:136
+ ... e]::Tls12 ; & 'c:\Users\smitm\.vscode\extensions\ms-dotnettools.vscod ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [dotnet-install.ps1], MethodInvocationException
+ FullyQualifiedErrorId : IOException,dotnet-install.ps1
**Error Stack:** Error: .NET Acquisition Failed: Installation failed: C:\Users\smitm\.vscode\extensions\ms-dotnettools.vscode-dotnet-runtime-1.5.0\dist\install scripts\dotnet-install.ps1 :
Exception calling "ExtractToFile" with "3" argument(s): "The process cannot access the file 'C:\Users\smitm\AppData\Roa
ming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime\.dotnet\6.0.0\dotnet.exe' because it is being used by
another process."
At line:1 char:136
+ ... e]::Tls12 ; & 'c:\Users\smitm\.vscode\extensions\ms-dotnettools.vscod ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [dotnet-install.ps1], MethodInvocationException
+ FullyQualifiedErrorId : IOException,dotnet-install.ps1
at c:\Users\smitm\.vscode\extensions\ms-dotnettools.vscode-dotnet-runtime-1.5.0\dist\extension.js:2:13750
at processTicksAndRejections (internal/process/task_queues.js:93:5)
Contributor guide
Assessment
This issue has not been assessed yet.