-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[release/8.0-staging] Move generation of SuggestedBindingRedirects.targets to inner build #112494
[release/8.0-staging] Move generation of SuggestedBindingRedirects.targets to inner build #112494
Conversation
…otnet#112379) * Move generation of SuggestedBindingRedirects.targets to inner build These targets depend on the AssemblyVersion of the library which is specific to the inner-build of the library. Generate them in the inner-build. * Update src/libraries/System.Resources.Extensions/src/System.Resources.Extensions.csproj
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.
Copilot wasn't able to review any files in this pull request.
Files not reviewed (1)
- src/libraries/System.Resources.Extensions/src/System.Resources.Extensions.csproj: Language not supported
Tagging subscribers to this area: @dotnet/area-system-resources |
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.
LGTM. Same change as in main.
/ba-g failures are all #112312 |
</Target> | ||
|
||
<ItemGroup Condition="'$(NetFrameworkMinimum)' != ''"> |
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.
LGTM! |
Backport of #112379 to release/9.0-staging
Fixes #111892
/cc @ericstj
In 8.0 we don't need to actually ship this, since we haven't shipped a patch in 8.0 there is nothing to fix. We just want to proactively port this fix so that it's ready should we need to patch in the future.
Customer Impact
.NETFramework project using the latest System.Resources.Extensions package fails to load resources with
FileLoadException
.Regression
9.0.1 - this is the first time we've serviced this package. The package didn't account for the serviced assembly version correctly.
Testing
Build / package / inspect redirects. Manually test consuming package in .NETFramework project.
Automated tests here are difficult with current infrastructure as we don't consume the built packages, nor rely on auto-generated bindingRedirects in the same way a customer project does.
Risk
Low - updating target in a single project that only impacts that library's generation of a targets file. If it builds its good.