-
Notifications
You must be signed in to change notification settings - Fork 11
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
Update dependency MSBuild.StructuredLogger to v2.2.243 #565
Conversation
dcd341d
to
9061584
Compare
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
@KirillOsenkov Do you have an idea why it can't find Microsoft.Build.Utilities.Core 15.1.0.0 after update to 2.2.443 when running Unit Tests on .NET 6 on Windows? It works when running on .NET With previous version KirillOsenkov/MSBuildStructuredLog#736 was an issue when running on Ubuntu, for which I had a workaround in place, which is now removed in this PR. There is also the workaround mentioned in KirillOsenkov/MSBuildStructuredLog#692 (comment) still in place. |
6cfd924
to
a7508a4
Compare
Issue with happens also with version 240 and is caused by this change KirillOsenkov/MSBuildStructuredLog@04ffca6 / issue KirillOsenkov/MSBuildStructuredLog#736 |
Could this be the same as KirillOsenkov/MSBuildStructuredLog#692? |
You need to make sure the Microsoft.Build.Utilities.Core.dll ends up in the output directory for the test project when you build it. |
@KirillOsenkov Yes, seems to be a similar issue as KirillOsenkov/MSBuildStructuredLog#692, but the fix for this is still in place and assembly is in the output directory: Cake.Issues/src/Cake.Issues.MsBuild/Cake.Issues.MsBuild.csproj Lines 18 to 31 in 99fbc76
The issue has returned with the fix for KirillOsenkov/MSBuildStructuredLog#736 in KirillOsenkov/MSBuildStructuredLog@04ffca6. |
From your logs:
As you can see, the file is present in bin\Debug\net7.0 and bin\Debug\net8.0, but not bin\Debug\net6.0. The 6.0 tests fail, predictably. You need to make sure the file gets copied to the 6.0 directory. |
Your workaround works fine for Cake.Issues.MSBuild (as my screenshot shows), but you also need it for Cake.Issues.MSBuild.Tests. Also notice how the file copied into C:\Cake.Issues\src\Cake.Issues.MsBuild\bin\Debug\net6.0\Microsoft.Build.Utilities.Core.dll is different from the one copied to the 7 and 8 output directories. My recommendation is to make sure you copy the same file. |
…re.dll are available for unit tests
@KirillOsenkov Thanks! Copying the files in unit test project fixed it. I'm copying the |
Yes, this is right. Only need to copy for net6.0. |
This PR contains the following updates:
2.2.235
->2.2.243
Release Notes
KirillOsenkov/MSBuildStructuredLog (MSBuild.StructuredLogger)
v2.2.243
: 2.2.243: support binlog file format version 21What's Changed
Full Changelog: KirillOsenkov/MSBuildStructuredLog@v2.2.240...v2.2.243
https://www.nuget.org/packages/binlogtool/1.0.15
https://www.nuget.org/packages/MSBuild.StructuredLogger/2.2.243
v2.2.240
: 2.2.240: $copy project() to view project file copy graphSupports
$copy project()
syntax to display all files copied by a given project(s).Fix for #736
Full Changelog: KirillOsenkov/MSBuildStructuredLog@v.2.2.235...v2.2.240
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.