Skip to content

BuildEnvironmentHelper Tests With Process Detection Logic Get Confused #7552

Open
@benvillalobos

Description

@benvillalobos

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 #7550 and run tests.

Expected Behavior

Actual Behavior

Analysis

Versions & Configurations

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions