BuildEnvironmentHelper Tests With Process Detection Logic Get Confused
Open
Area: Tests
bug
triaged
- Dominant language
- C#
- Stars
- 5.5k
- Forks
- 1.5k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 139
Description
### Issue Description
The new-and-improved process detection logic in BuildEnvironmentHelper confuses tests, which run a "fake" 64-bit MSBuild.exe in an x86 process.
The detection logic:
https://github.com/BenVillalobos/msbuild/blob/525eebc0f31f8c770ad7b1636866aa2a15850e41/src/Shared/BuildEnvironmentHelper.cs#L540-L546
### Steps to Reproduce
Un-skip the relevant tests that were disabled in https://github.com/dotnet/msbuild/pull/7550 and run tests.
### Expected Behavior
### Actual Behavior
### Analysis
### Versions & Configurations
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.