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

Use official buildTransitive NuGet support #44

Merged
merged 5 commits into from
Mar 4, 2023

Conversation

NightOwl888
Copy link
Owner

This changes from a viral copy of the ICU4N.targets file to putting the file in the buildTransitive folder within the NuGet package. The feature can be disabled by excluding the feature from the ICU4N PackageReference.

<ItemGroup>
    <PackageReference Include="ICU4N" Version="60.1.0-alpha.401" ExcludeAssets="buildTransitive" />
</ItemGroup>

It would be best to allow the end consumer to be able to override this, but for now the best advice is to only exclude resources in the executable application that deploys them as files until we build more automation into the build process to pack custom resources. For all intermediate class libraries, it is best to leave the default settings.

…dTransitive feature instead of copying the .targets file into every NuGet package that depends on us
…rnings (although, it appears that netstandard2.0 folder is required for it to actually function on that TFM).
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.

None yet

1 participant