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 net6.0 as a target framework #616

Merged
merged 15 commits into from May 9, 2022

Commits on Apr 8, 2022

  1. Add net6.0 target, and NoWarn for SYSLIB0003

    Code Access Security (CASE) is only supported on .Net Framework; from net5.0 onwards it is marked obsolete which causes build warnings. For now, easiest to disable the warnings. If/when fully deprecated, it may be necessary to be a bit cleverer.
    Jevonius committed Apr 8, 2022
    Copy the full SHA
    047309f View commit details
    Browse the repository at this point in the history
  2. Use RuntimeInformation to avoid CA1416 warning for COM interop hand…

    …ling when not on Windows
    
    Marshal.GetIUnknownForObject causes a CA1416 warning unless the code is only running on Windows. It is unclear how well Mono handles COM interoperability, so whether special handling is needed for Mono.
    Jevonius committed Apr 8, 2022
    Copy the full SHA
    1ab2324 View commit details
    Browse the repository at this point in the history
  3. Add EventLog handling for net6.0, add nicer handling for Mono in …

    …tests for `DiagnostlicsLogger`
    
    There are `CAS1416` errors if attempting to use `EventLog` on `net6.0` without handling to ensure the platform is Windows, hence the need to use `SupportedOSPlatform` at the class level for the DiagnosticsLogger-related classes.
    Jevonius committed Apr 8, 2022
    Copy the full SHA
    f85ae04 View commit details
    Browse the repository at this point in the history
  4. Update build pipelines for net6.0 support, add GitHub Actiosn pipel…

    …ine to solution for ease of access
    Jevonius committed Apr 8, 2022
    Copy the full SHA
    fc1a19d View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    1573e45 View commit details
    Browse the repository at this point in the history
  6. Add ref/*-net6.0.cs files, update test/generator to work only under…

    … `net6.0`
    
    Changed the generation from `net472` to `net6.0` due to errors when trying to load a `net6.0` assembly from `net472`
    Jevonius committed Apr 8, 2022
    Copy the full SHA
    0eb55e5 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    a342079 View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    d147818 View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    e078044 View commit details
    Browse the repository at this point in the history
  10. Copy the full SHA
    14264bc View commit details
    Browse the repository at this point in the history
  11. Copy the full SHA
    8641c5f View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2022

  1. Remove references of DOTNET462 as no longer used

    The sole usage of DOTNET462 (PublicApiTestCase) now uses NET6_0. There are symbols such as NET462 and NET462_OR_GREATER (supplied by the SDK) if such switching is required in future.
    Jevonius committed Apr 10, 2022
    Copy the full SHA
    3e6e22d View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    2de4707 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2022

  1. Copy the full SHA
    9da21a7 View commit details
    Browse the repository at this point in the history
  2. Switch to preprocessor directives to avoid need for System.Runtime.In…

    …teropServices.RuntimeInformation package on net462
    Jevonius committed Apr 30, 2022
    Copy the full SHA
    0076083 View commit details
    Browse the repository at this point in the history