Skip to content

Missing .NET7 (MAUI Library) support #84

Description

@gcadmes-extron

Are there plans to convert the ModernHttpClient library to a .NET MAUI library targeting .net7?
Before the holidays I saw emails indicating so.

I've already converted the project into a .NET 7 MAUI library, but there are compiler warnings.
Please let me know if I should fork or create a PR with the .NET7 changes.

warning BI1234: 'SecTrust.this[nint]' is obsolete: 'Starting with maccatalyst15.0 use the 'GetCertificateChain' method instead.'
warning CA1416: This call site is reachable on: 'MacCatalyst' 13.1 and later. 'SslProtocol.Tls_1_2' is unsupported on: 'maccatalyst' 13.0 and later.
warning CA1416: This call site is reachable on: 'MacCatalyst' 13.1 and later. 'NSUrlSessionConfiguration.TLSMinimumSupportedProtocol.set' is unsupported on: 'maccatalyst' 13.0.0 and later.
warning CA1416: This call site is reachable on: 'MacCatalyst' 13.1 and later. 'SecTrust.this[nint]' is unsupported on: 'maccatalyst' 15.0 and later.
warning BI1234: 'SecTrust.this[nint]' is obsolete: 'Starting with ios15.0 use the 'GetCertificateChain' method instead.'
warning CA1416: This call site is reachable on: 'iOS' 10.0 and later, 'maccatalyst' 10.0 and later. 'SecTrust.this[nint]' is unsupported on: 'ios' 15.0 and later, 'maccatalyst' 15.0 and later.
warning CA1416: This call site is reachable on: 'iOS' 10.0 and later, 'maccatalyst' 10.0 and later. 'SslProtocol.Tls_1_2' is unsupported on: 'ios' 13.0 and later, 'maccatalyst' 13.0 and later.
warning CA1416: This call site is reachable on: 'iOS' 10.0 and later, 'maccatalyst' 10.0 and later. 'NSUrlSessionConfiguration.TLSMinimumSupportedProtocol.set' is unsupported on: 'ios' 13.0.0 and later, 'maccatalyst' 13.0.0 and later.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions