Skip to content

OSConditionAttribute include windows doesn't work for netfx Linux #6615

@Evangelink

Description

@Evangelink

Describe the bug

When running a test marked with [OSCondition(OperatingSystems.Windows)] with netfx on Linux or Mac, the test will be run via mono and the attribute won't exclude the test.

The attribute currently assumes netfx to be Windows only which is not always right.

Metadata

Metadata

Assignees

Labels

Area: MSTestIssues with MSTest that are not specific to more refined area (e.g. analyzers or assertions)

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions