dotnet / dotnet/vscode-dotnet-runtime
[NETE2ESDK]Output messages show that "Could not find the architecture of the dotnet host …"if re-acquire .NET runtime 2.x, 3.1 or 5.0
- Dominant language
- TypeScript
- Stars
- 209
- Forks
- 455
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug.
Output messages show that "Could not find the architecture of the dotnet host …"if re-acquire .NET runtime
Not repro with .NET runtime 6.0 and higher
### Please attach log file(s) here if you have any.
The log file location should be copied to your clipboard if you came from VS Code.
[log.zip](https://github.com/user-attachments/files/20362487/log.zip)
### Reproduction Steps
1. Run the 'Sample: Acquire .NET runtime' command. You should be asked to enter a Major.Minor version, please enter '2.1','3.1' or '5.0'
2. Let this installation finish (wait until you see a file path in the output) and then repeat the above step.
3. Observe
### Expected Behavior
The second time you run the command you should not see any new output (since the requested version is already installed).
### Exceptions & Errors (if any)
Output messages show that "Could not find the architecture of the dotnet host …"

Note:
1. This issue is repro on v2.3.4, but not repo on v2.3.3.
2. This issue is not reproduced on .NET 6.0 and higher.
### .NET Install Tool Version
2.3.5
### Your operating system? Please provide more detail, such as the version and or distro above.
Windows
### VS Code Version
1.100.2
Contributor guide
Assessment
This issue has not been assessed yet.