dotnet / dotnet/vscode-dotnet-runtime
".NET Acquisition Failed: Installation failed" while opening a folder
- Dominant language
- TypeScript
- Stars
- 209
- Forks
- 455
- PR merge metrics
- No merged PRs in 30d
Description
The issue text was copied to the clipboard. Please paste it into this window.
Please attach the log file located at /home/barry/.vscode-server-insiders/data/logs/20221018T120728/exthost1/ms-dotnettools.vscode-dotnet-runtime/DotNetAcquisition-ms-dotnettools.vscode-dotnet-runtime-1666120061712.txt. Note that this file may contain personal data.
Privacy Alert! The contents copied to your clipboard may contain personal data. Prior to posting to GitHub, please remove any personal data which should not be publicly viewable. https://privacy.microsoft.com/en-US/privacystatement
**Repro steps:**
1. I opened a folder hosted in WSL 2, letting WSL launch VS Code on host Windows.
**Extension Version:** 1.0.0
**Error Message:** .NET Acquisition Failed: Installation failed: Error: Command failed: "/home/anonymous/.vscode-server-insiders/extensions/ms-dotnettools.vscode-dotnet-runtime-1.5.0/dist/install scripts/dotnet-install.sh" -InstallDir "/home/anonymous/.vscode-server-insiders/data/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/6.0.10" -Version 6.0.10 -Runtime dotnet
/home/anonymous/.vscode-server-insiders/extensions/ms-dotnettools.vscode-dotnet-runtime-1.5.0/dist/install scripts/dotnet-install.sh: 7: Syntax error: newline unexpected
**Error Stack:** Error: .NET Acquisition Failed: Installation failed: Error: Command failed: "/home/anonymous/.vscode-server-insiders/extensions/ms-dotnettools.vscode-dotnet-runtime-1.5.0/dist/install scripts/dotnet-install.sh" -InstallDir "/home/anonymous/.vscode-server-insiders/data/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/6.0.10" -Version 6.0.10 -Runtime dotnet
/home/anonymous/.vscode-server-insiders/extensions/ms-dotnettools.vscode-dotnet-runtime-1.5.0/dist/install scripts/dotnet-install.sh: 7: Syntax error: newline unexpected
at /home/anonymous/.vscode-server-insiders/extensions/ms-dotnettools.vscode-dotnet-runtime-1.5.0/dist/extension.js:2:13750
at processTicksAndRejections (node:internal/process/task_queues:96:5)
[DotNetAcquisition-ms-dotnettools.vscode-dotnet-runtime-1666120061712.txt](https://github.com/dotnet/vscode-dotnet-runtime/files/9814317/DotNetAcquisition-ms-dotnettools.vscode-dotnet-runtime-1666120061712.txt)
Contributor guide
Assessment
This issue has not been assessed yet.