Skip to content

chore: Add PolySharp dev dependency and cleanup #if-#endif preprocessor - #2881

Merged
timcassell merged 3 commits into
dotnet:masterfrom
filzrev:chore-add-polysharp-dev-dependency
Nov 29, 2025
Merged

chore: Add PolySharp dev dependency and cleanup #if-#endif preprocessor#2881
timcassell merged 3 commits into
dotnet:masterfrom
filzrev:chore-add-polysharp-dev-dependency

Conversation

@filzrev

@filzrev filzrev commented Nov 28, 2025

Copy link
Copy Markdown
Contributor

This PR add PolySharp dev dependency.
And cleanup #if-#endif preprocessor that are used on SupportedOSPlatform/SupportedOSPlatformGuard.

The purpose of adding PolySharp dependency if followings.

@timcassell

Copy link
Copy Markdown
Collaborator

Thanks. I think PolySharp also generates DynamicDependencyAttribute, so we should be able to remove the ifdefs around it also, right?

@filzrev

filzrev commented Nov 29, 2025

Copy link
Copy Markdown
Contributor Author

I've add commit that remove #if NET6_0_OR_GREATER on DynamicDependencyAttribute

@timcassell timcassell left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks, I was just waiting for the tests to pass.

@timcassell
timcassell merged commit 9c1aa83 into dotnet:master Nov 29, 2025
9 checks passed
@timcassell timcassell added this to the v0.15.8 milestone Nov 29, 2025
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.

2 participants