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

Support custom culture in RAR #11000

Merged
merged 7 commits into from
Nov 28, 2024
Merged

Support custom culture in RAR #11000

merged 7 commits into from
Nov 28, 2024

Conversation

JanKrivanek
Copy link
Member

@JanKrivanek JanKrivanek commented Nov 19, 2024

Fixes #10536
Contributes to #10996

Context

Custom culture on EmbeddedResource items is supported by AssignTask (from #10026), but it's then ignored by RAR task (and CreateManifestResourceName as well)

Changes Made

We are no more checking the recoginzed culture against the known list. Putting this behind changewave - as it has pottential to break esoteric scenarios of binaries with .resource.dll existing in subdirs, but actually not being a satelite assemblies

Testing

Manual testing on a scenario from the bug
Tailored tests added in #11023 (will be uncommented after merging this PR)

@maridematte
Copy link
Contributor

For changes featured in ChangeWaves please update the changewave doc.

@JanKrivanek JanKrivanek requested a review from SimaTian November 26, 2024 09:58
Copy link
Member

@surayya-MS surayya-MS 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 to me!

documentation/wiki/ChangeWaves.md Outdated Show resolved Hide resolved
src/Framework/StringUtils.cs Outdated Show resolved Hide resolved
src/Tasks/AssignCulture.cs Outdated Show resolved Hide resolved
src/Tasks/CreateCSharpManifestResourceName.cs Show resolved Hide resolved
@JanKrivanek JanKrivanek enabled auto-merge (squash) November 28, 2024 11:09
@JanKrivanek JanKrivanek merged commit 04ef516 into main Nov 28, 2024
10 checks passed
@JanKrivanek JanKrivanek deleted the proto/custom-culture branch November 28, 2024 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Satellite assemblies with un-predefined cultures are not copied correctly into depended projects
4 participants