Skip to content
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/9.0-staging] Move generation of SuggestedBindingRedirects.targets to inner build #112487

Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Feb 12, 2025

Backport of #112379 to release/9.0-staging
Fixes #111892

/cc @ericstj

Customer Impact

  • Customer reported
  • Found internally

.NETFramework project using the latest System.Resources.Extensions package fails to load resources with FileLoadException.

Regression

  • Yes
  • No

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.

IMPORTANT: If this backport is for a servicing release, please verify that:

  • The PR target branch is release/X.0-staging, not release/X.0.

Package authoring no longer needed in .NET 9

IMPORTANT: Starting with .NET 9, you no longer need to edit a NuGet package's csproj to enable building and bump the version.
Keep in mind that we still need package authoring in .NET 8 and older versions.

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.
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-resources
See info in area-owners.md if you want to be subscribed.

@ericstj ericstj added the Servicing-consider Issue for next servicing release review label Feb 12, 2025
@rbhanda rbhanda added this to the 9.0.4 milestone Feb 18, 2025
@rbhanda rbhanda added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Feb 18, 2025
@ericstj
Copy link
Member

ericstj commented Feb 19, 2025

Failures are #112312 which was just fixed.

@ericstj
Copy link
Member

ericstj commented Feb 19, 2025

/ba-g failures are all known.

@ericstj ericstj merged commit ec9ce26 into release/9.0-staging Feb 19, 2025
87 of 91 checks passed
@jkotas jkotas deleted the backport/pr-112379-to-release/9.0-staging branch February 21, 2025 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-System.Resources Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants