Skip to content

chore: Add support for multiple target frameworks#50

Merged
neuecc merged 1 commit intoCysharp:mainfrom
filzrev:chore-add-multi-targetframeworks
Mar 21, 2025
Merged

chore: Add support for multiple target frameworks#50
neuecc merged 1 commit intoCysharp:mainfrom
filzrev:chore-add-multi-targetframeworks

Conversation

@filzrev
Copy link
Copy Markdown
Contributor

@filzrev filzrev commented Mar 20, 2025

Currently tests/benchmarks project is targetting .NET 9 only.
This PR add support for .NET8, and .NET 10 (Currently preview.2)

Note: .NET 10 support is added when using Visual Studio Preview version only.
I'll not affect other build environment.

Additionally, following changes included.

  • Add settings to suppress message when using preview version of .NET SDK
  • Suppress CS8002 warnings on benchmark project
  • Fix test/benchmark code that can't build with .NET 8

@neuecc
Copy link
Copy Markdown
Member

neuecc commented Mar 21, 2025

Thank you for your insights on .NET 10 support, this approach works well!
I was just about to implement netstandard2.0 support, so this adaptation comes at a perfect time.
(I wonder if running netstandard2.0 and 2.1 tests on .NET 6 would be sufficient)

@neuecc neuecc merged commit d2c2302 into Cysharp:main Mar 21, 2025
1 check passed
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