-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pass location information to EventArgs #10545
pass location information to EventArgs #10545
Conversation
add Build*EventArgs constructors for relevant data split IMSBuildElementLocation to file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Can you add sample output of the buildcheck console outputs?
We should check the appearance of the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be nice to have some tests to check if the location is being passed right from the check to the output.
I moved it to a separate ticket: #10581 |
Fixes #10529
Context
Changes Made
split IMSBuildElementLocation to separate file and added it to Framework .dll (kept in Microsoft.Build.BackEnd namespace, that should be moved eventually if desirable #10544 )
removed location from BuildCheckResult.FormatMessage, location is logged via the filled parameters by Build*EventArgs
Testing
Notes