-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Fix Arcade's BeforeCommon imports not being respected #9555
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
Conversation
MSBuild's build ifnrastructure overwrites the `CustomBeforeMicrosoftCommonTargets` property which results in Arcade's entry to get dropped. Arcade adds to that property to import common files.
|
Oh wow. I'm not sure how this change could introduce new prebuilts. cc @dotnet/source-build-contrib |
|
Okay this change got a lot scarier! |
|
This change appears to be causing StringTools.Benchmark.csproj to be restored but it wasn't prior to these changes. |
|
Here's what the binlogs show. Prior to these changesWith these changesNote that this comes from different restore tasks. In the first, it uses |
|
This seems to be related to #7058. I can reproduce this locally as well. Static graph restore doesn't respect slnf files. |
|
I can reproduce this in a sample application. Filed a nuget issue for it: NuGet/Home#13097 Updated my PR not change the restore engine when building from source. |
|
This should be ready to be merged in and fixes an issue with msbuild's Arcade integration. |
MSBuild's build ifnrastructure overwrites the
CustomBeforeMicrosoftCommonTargetsproperty which results in Arcade's entry to get dropped.Arcade adds to that property to import common files.
This fixes static graph restore not working in this repository when using Arcade's
ExcludeFromBuildproperties.