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

Revert remove old runtimes #2692

Merged
merged 7 commits into from
Jan 31, 2025
Merged

Revert remove old runtimes #2692

merged 7 commits into from
Jan 31, 2025

Conversation

timcassell
Copy link
Collaborator

Reverts #2505, re-enabling old runtimes back to netcoreapp2.0 by utilizing <SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings> (thanks to the solution by @adamsitnik in #2686).

@timcassell timcassell force-pushed the revert-remove-old-runtimes branch from 607c682 to df29aba Compare January 21, 2025 06:27
Copy link
Member

@adamsitnik adamsitnik left a comment

Choose a reason for hiding this comment

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

@timcassell thank you for your contribution!

I am fine with restoring the support for .NET Core 2.0, but:

  • all our docs and samples should be using supported TFMs (net8.0 and net9.0)
  • the parsing tests should cover both old and new tfms as string inputs
  • the test projects should keep running as net8.0

I hope that my suggestion won't be too much work (it should be a matter of few reverts here and there).

README.md Outdated Show resolved Hide resolved
docs/articles/configs/toolchains.md Outdated Show resolved Hide resolved
docs/articles/guides/console-args.md Outdated Show resolved Hide resolved
src/BenchmarkDotNet/ConsoleArguments/CommandLineOptions.cs Outdated Show resolved Hide resolved
src/BenchmarkDotNet/Templates/CsProj.txt Outdated Show resolved Hide resolved
src/BenchmarkDotNet/Toolchains/NativeAot/Generator.cs Outdated Show resolved Hide resolved
tests/runCoreTests.cmd Outdated Show resolved Hide resolved
@timcassell timcassell force-pushed the revert-remove-old-runtimes branch from 13a52ca to 75274f9 Compare January 30, 2025 20:08
@timcassell timcassell requested a review from adamsitnik January 30, 2025 20:57
@timcassell
Copy link
Collaborator Author

@adamsitnik I think I addressed all of your feedback.

Copy link
Member

@adamsitnik adamsitnik left a comment

Choose a reason for hiding this comment

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

LGTM, thank you @timcassell !

@timcassell timcassell merged commit e7e758d into master Jan 31, 2025
14 checks passed
@timcassell timcassell deleted the revert-remove-old-runtimes branch January 31, 2025 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants