msbuild
msbuild copied to clipboard
Logs warning message when property AllowFailureWithoutError is set to…
… True
Fixes #6633
Context
No messages are logged at all if the build fails and AllowFailureWithoutError is set to True.
Changes Made
Moved the logic check for AllowFailureWithoutError to the nested if-else statement so that a warning message is logged if AllowFailureWithoutError is set to True and if AllowFailureWithoutError is set to False then an error is logged instead.
Testing
Added line to relevant Unit Test to check for warning messages in cases where AllowFailureWithoutError is set to True.
Notes
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
:x: FrtLoop sign now
You have signed the CLA already but the status is still pending? Let us recheck it.
Closing this for now. Feel free to reopen it when you're ready.