-
-
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
Behavior change when running on 9.0.0-preview.7.24405.7 #817
Comments
@JanKrivanek any quick guess what might have changed in MSBuild? |
it's a good change (it gives more info), need to think whether to present it slightly differently in the viewer btw love great bug reports! detailed and with a minimal repro! |
Thanks, @KirillOsenkov! I like the MSBuildStructuredLog tool and I find it very useful.
On our side, we are more affected by this change when we're using the library since now |
Thanks for report and thanks for tagging me here. @ladipro was working on improving and enriching the info around task parameters:
It's comming from the first one. To me this honestly feels as pure improvement. |
I guess perhaps we can parse the message and just keep the item name as earlier, but add the parameter mapping on the side somewhere, because now the item name is not really the item name so analyzers looking for $additem for rxample won't match this. I can look later to see if I have ideas on how to represent this better. |
Or this change can be reverted: or applied just as a tooltip or so. I'm happy to adjust this next week - just lm know |
Yes, I think we need to change this somehow and expose this information in a different way. The item name should be just item name. |
👍 on adding some more structure around this (maybe a subclass of AddItem for output items?) FYI i'm working on a little tool that parses a binlog and creates a .proj that re-runs some selected tasks (https://github.com/lambdageek/monostump) an |
The issue KirillOsenkov/MSBuildStructuredLog#817 was fixed in 2.2.350
I've noticed a behavior change when the tool is running on the .NET 9 preview runtime.
When output task is used, the name of the parameter changes from
<ItemName>
to<ItemName> from parameter <TaskParameter>
.For example, we can have a .csproj file in the following form:
When running on an older runtime (like 6.0) the parameter is named
ResultOutput
On the other hand when running on .NET 9.0.0-preview.7.24405.7, the parameter is named
ResultOutput from parameter Result
You can find here the sources of the reproducer: reproducer.zip
I used a
global.json
file to change the runtime.The text was updated successfully, but these errors were encountered: