Skip to content

Conversation

@angularsen
Copy link
Owner

@angularsen angularsen commented Dec 16, 2020

  • Remove all #pragma statements related to obsolete warnings 612,618
  • Remove obsolete warning configuration per project
  • Add obsolete warning configuration to Directory.Build.props
    • Add <WarningsNotAsErrors>612,618</WarningsNotAsErrors>
    • Add <TreatWarningsAsErrors>true</TreatWarningsAsErrors>

Note: MSBuildTreatWarningsAsErrors was previously used, but this did not seem to honor WarningsNotAsErrors.
Replaced with TreatWarningsAsErrors.

Related to #864

Replace MSBuildTreatWarningsAsErrors with TreatWarningsAsErrors
Demote nullability errors to warnings in CodeGen until fixed.
@angularsen angularsen merged commit 4993a2a into master Dec 16, 2020
@angularsen angularsen deleted the remove-obsolete-pragma branch December 16, 2020 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants