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

Automatically pack dependencies satellite resources for private packages #342

Merged
merged 1 commit into from
Mar 10, 2023

Conversation

kzu
Copy link
Member

@kzu kzu commented Mar 10, 2023

Added a new PackSatelliteDlls property that can be set to false to avoid packing the satellite resource assemblies when the project is localized. This setting only applies when PackBuildOutput=true.

When a PackageReference has PrivateAssets=all, we assume all assets should be packed alongside the primary output (just as you would see them in the build output). Package references that include satellite resources will show up in the output directory, so it makes sense to also pack them in this case.

Added a new `PackSatelliteDlls` property that can be set to `false` to avoid packing the satellite resource assemblies when the project is localized. This setting only applies when `PackBuildOutput=true`.

When a `PackageReference` has `PrivateAssets=all`, we assume all assets should be packed alongside the primary output (just as you would see them in the build output). Package references that include satellite resources will show up in the output directory, so it makes sense to also pack them in this case.
@kzu kzu added the enhancement New feature or request label Mar 10, 2023
@kzu kzu enabled auto-merge (rebase) March 10, 2023 18:55
@kzu kzu merged commit a50d551 into main Mar 10, 2023
@kzu kzu deleted the dev/SatelliteResources branch March 10, 2023 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant