Skip to content

ILLInk fix the usage of treatWarningsAsErrors #45134

Open
@SimaTian

Description

@SimaTian

Describe the bug

The PR 10942 in msbuild has changed the way WarningsAsErrors are treated. Unfortunately this is incompatible with the way ILLink currenctly uses them.
We need to decide how to handle this case since the MSBuild team wants this change for the sake of consistency even though it is more breaking than expected.

To Reproduce

Enable the ILLink_can_treat_warnings_not_as_errors, ILLink_can_treat_warnings_as_errors tests within the GivenThatWeWantToRunILLink.cs test file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions