You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dotnet-migrate (since corrected) and PreserveCompilationContext targets use the property WarningsAsErrors. The correct property is TreatWarningsAsErrors. PreserveCompilationContext needs to be updated
The text was updated successfully, but these errors were encountered:
natemcmaster
changed the title
WarningsAsErrors or TreatWarningsAsErrors
PreserveCompilationContext targets incorrectly uses WarningsAsErrors
Jan 31, 2017
…pilationContext targets.
TreatWarningsAsErrors controls warning as error behavior for the entire compilation, while WarningsAsErrors is a string of set of diagnostic IDs that need to be treated as errors.
Fixesdotnet#756
dotnet-migrate (since corrected) and PreserveCompilationContext targets use the property
WarningsAsErrors
. The correct property isTreatWarningsAsErrors
. PreserveCompilationContext needs to be updatedThe text was updated successfully, but these errors were encountered: