[CSHARP-4854] Suppress vulnerability warnings for netcoreapp2.1 TF in tests Created: 21/Nov/23  Updated: 29/Nov/23  Resolved: 23/Nov/23

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 2.23.0

Type: Improvement Priority: Unknown
Reporter: Boris Dogadov Assignee: Boris Dogadov
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Documentation Changes: Not Needed

 Description   

.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.



 Comments   
Comment by Githook User [ 23/Nov/23 ]

Author:

{'name': 'BorisDog', 'email': 'BorisDog@users.noreply.github.com', 'username': 'BorisDog'}

Message: CSHARP-4854: Suppress vulnerability warnings for netcoreapp2.1 TF in tests (#1218)
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/96fa5f2873198e4963250a2504ff4892c0d0545c

Generated at Wed Feb 07 21:49:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.