Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-4854

Suppress vulnerability warnings for netcoreapp2.1 TF in tests

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Unknown Unknown
    • 2.23.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed

      .NET 8 SDK introduces new vulnerability warnings for older frameworks.
      https://learn.microsoft.com/en-us/nuget/reference/errors-and-warnings/nu1901-nu1904
      https://learn.microsoft.com/en-us/dotnet/core/compatibility/sdk/8.0/dotnet-restore-audit#new-behavior

      Out tests build breaks on .NET 8 SDK due to usage of netcoreapp2.1 and treatwarningsaserrors setting.
      We should temporary suppress this warning, and revert when updating to newer targets.

            Assignee:
            boris.dogadov@mongodb.com Boris Dogadov
            Reporter:
            boris.dogadov@mongodb.com Boris Dogadov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: