From 1a3cc1ed75312b9163b816bfa8e03a45901ab207 Mon Sep 17 00:00:00 2001 From: Viktor Hofer Date: Tue, 27 Aug 2024 16:48:26 +0200 Subject: [PATCH] Enable NuGetAudit (#8318) * Enable NuGetAudit Contributes to https://github.com/dotnet/arcade/issues/15019 Also remove the unnecessary `SystemFormatsAsn1Version` property. * Update NuGet.config --- Directory.Build.props | 3 +++ Directory.Packages.props | 11 +++++++---- NuGet.config | 23 +++++------------------ eng/Versions.props | 4 ---- 4 files changed, 15 insertions(+), 26 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index ee780122bdb..3f80822baa2 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -24,6 +24,9 @@ 0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb 0024000004800000940000000602000000240000525341310004000001000100c547cac37abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d9266654753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7 + + $(WarningsNotAsErrors);NU1901;NU1902;NU1903;NU1904 + true false diff --git a/Directory.Packages.props b/Directory.Packages.props index 67e8b2d41c8..1331a4385e2 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -27,8 +27,9 @@ - - + + + @@ -45,7 +46,7 @@ - + @@ -57,6 +58,8 @@ + + - \ No newline at end of file + diff --git a/NuGet.config b/NuGet.config index ced55102a9a..db34d499431 100644 --- a/NuGet.config +++ b/NuGet.config @@ -2,15 +2,6 @@ - - - - - - - - - @@ -18,15 +9,11 @@ + + + + - - - - - - - - - + diff --git a/eng/Versions.props b/eng/Versions.props index 5c3df6e46e4..8e008007ca0 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -16,8 +16,4 @@ 2.0.0-beta4.24324.3 - - - 8.0.1 -