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

[vs17.13] Adjust embeddedresource culture warning #11320

Merged
merged 2 commits into from
Jan 27, 2025

Conversation

JanKrivanek
Copy link
Member

@JanKrivanek JanKrivanek commented Jan 21, 2025

Fixes #11313

Summary

The newly added MSB3002 has a breaking potential (while it's very correct). So making it an opt-in behavior
("MSB3002: Explicitly set culture "{0}" for item "{1}" was overwritten with inferred culture "{2}", because 'RespectAlreadyAssignedItemCulture' property was not set.")

Customer Impact

If user took behavior on old incorrect behavior (explicitly set Culture metadata on EmbeddedResource were overwritten with culture inferred from the file extension) or they just don't care - they might be broken by the new warning that they might not appreciate.

Regression?

Yes.
The warning was newly added (in 17.13)

Testing

Targetted test is testing the scenarios with explicit and implicit culture.

Risk

Minimal (making the new warning opt-in).

@JanKrivanek JanKrivanek requested a review from a team as a code owner January 21, 2025 17:40
@JanKrivanek JanKrivanek changed the base branch from main to vs17.13 January 21, 2025 17:41
@rbhanda rbhanda added this to the 9.0.3 milestone Jan 21, 2025
@JanKrivanek JanKrivanek enabled auto-merge (squash) January 27, 2025 16:19
Copy link
Member

@YuliiaKovalova YuliiaKovalova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍

@JanKrivanek JanKrivanek merged commit e0f243f into vs17.13 Jan 27, 2025
10 checks passed
@JanKrivanek JanKrivanek deleted the proto/embeddedCulture-adjust-17-13 branch January 27, 2025 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

EmbeddedResource - prevent breaking change
4 participants