-
-
Notifications
You must be signed in to change notification settings - Fork 200
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
Added TaskAssemblyLocation to TaskStartedEventArgs2 #772
Added TaskAssemblyLocation to TaskStartedEventArgs2 #772
Conversation
The reader looks good! Let's also update the BuildEventArgsWriter (same changes as in the MSBuild repo) |
Oh, also need to update this place:
Currently we compute the Task assembly by parsing Using Task messages here: MSBuildStructuredLog/src/StructuredLogger/Construction/MessageProcessor.cs Lines 131 to 139 in 7e1ca2a
We need to first take TaskStartedEventArgs2.TaskAssemblyLocation if that's not null or empty, otherwise fall back to the existing logic. |
Also do you have a binlog that exercises a new resource string that you added? Does that string end up in the binlog? |
Yes, it did :) I will update the MessageProcessor. I wanted to ask where can I find the code for populating Assembly node inside task, but you was faster :) |
Now just the writer please ;) |
@MichalPavlik could you please include the changes in our copy of BuildEventArgsWriter.cs as well? |
@MichalPavlik also please make sure the test |
Sorry, I had vacation. I will do it today. |
Perhaps @JanKrivanek can help here, he did a lot of work in making sure the format is roundtrippable. |
The nullref exception is more concerning that the newline format - I'd suggest looking into that |
Test result was misleading :) The root cause was in writer - test is using MSBuild to build project, but it knows nothing about |
Lets make sure the test is catching the similar problems for the future: MichalPavlik#1 (I do not have write access to your fork @MichalPavlik - so I created this as a PR to your branch :)) |
Explicitly verify there are no errors in the build nor during reading
Great, thanks :) |
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.
Thank you!
Fixes #771