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

Add support for .NET 8 #1144

Merged
merged 12 commits into from
Nov 14, 2023
Merged

Add support for .NET 8 #1144

merged 12 commits into from
Nov 14, 2023

Commits on Nov 14, 2023

  1. Use .NET 8 SDK

    Build with the .NET 8 RC2 SDK.
    martincostello committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    a7ae22b View commit details
    Browse the repository at this point in the history
  2. Use artifacts output

    Use new artifacts output.
    martincostello committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    5f1661c View commit details
    Browse the repository at this point in the history
  3. Use collection initializers

    - Use C#12 collection initializers where relevant.
    - Suppress false positives when using `TheoryData`.
    - Remove some redundant code analysis suppressions.
    martincostello committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    fcb6ac4 View commit details
    Browse the repository at this point in the history
  4. Update compatibility suppressions

    Resolve CP0001 and CP0002 warnings with the .NET 8 SDK.
    martincostello committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    ebd4abf View commit details
    Browse the repository at this point in the history
  5. Fix mutation tests

    Fix mutation tests by switching to Windows and updating the settings to support .NET 8 and C# 12.
    martincostello committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    3033897 View commit details
    Browse the repository at this point in the history
  6. Fix publish errors

    - Fix NETSDK1204 error as cannot publish AoT on macOS.
    - Fix NETSDK1201 error on Linux and Windows.
    martincostello committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    3ce8df8 View commit details
    Browse the repository at this point in the history
  7. Use stable SDK version

    Use the stable release of the .NET 8 SDK.
    martincostello committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    f314525 View commit details
    Browse the repository at this point in the history
  8. Add net8.0 targets

    - Add `net8.0` targets.
    - Use .NET `TimeProvider` implementation.
    - Use `FakeTimeProvider` for tests.
    - Use new .NET 8 APIs where relevant.
    
    Co-Authored-By: martintmk <103487740+martintmk@users.noreply.github.com>
    martincostello and martintmk committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    f3d6415 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    7f3f438 View commit details
    Browse the repository at this point in the history
  10. Update comment

    Update comment grammar.
    martincostello committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    0802e2c View commit details
    Browse the repository at this point in the history
  11. Update NuGet packages

    Use stable .NET 8 NuGet package versions.
    martincostello committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    12a6e03 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    d3e0fec View commit details
    Browse the repository at this point in the history