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 C# resource filtering by .NET version #281

Merged
merged 1 commit into from
Feb 1, 2025

Conversation

brantburnett
Copy link
Contributor

Motivation

The current filtering approach is limited to only .NET Standard vs .NET Core and modern .NET. There are reasons to also allow filtering based on specific .NET versions.

Modifications

  • Move a lot of duplicate logic in the .Client projects to the Directory.Build.targets file.
  • Allow .netX.Y.cs suffixes on resource files in the .Client projects to limit the target versions they apply to.

Motivation
----------
The current filtering approach is limited to only .NET Standard vs
.NET Core and modern .NET. There are reasons to also allow filtering
based on specific .NET versions.

Modifications
-------------
- Move a lot of duplicate logic in the .Client projects to the
  Directory.Build.targets file.
- Allow `.netX.Y.cs` suffixes on resource files in the .Client projects
  to limit the target versions they apply to.
@brantburnett
Copy link
Contributor Author

/merge

@centeredgebot centeredgebot bot merged commit 8380f19 into main Feb 1, 2025
11 checks passed
@centeredgebot centeredgebot bot deleted the net-versioned-resource branch February 1, 2025 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant