From 08f0d030d6ab386166997dcb99ba55301da333eb Mon Sep 17 00:00:00 2001 From: SeppPenner Date: Tue, 11 Jun 2024 16:03:56 +0000 Subject: [PATCH] Version5 auditmode (#2016) Added NuGet audit mode and some other settings to get informed about security issues. --- Samples/MQTTnet.Samples.csproj | 6 +++++- Source/MQTTnet.AspTestApp/MQTTnet.AspTestApp.csproj | 6 +++++- Source/MQTTnet.AspnetCore/MQTTnet.AspNetCore.csproj | 6 +++++- Source/MQTTnet.Benchmarks/MQTTnet.Benchmarks.csproj | 6 +++++- .../MQTTnet.Extensions.ManagedClient.csproj | 6 +++++- .../MQTTnet.Extensions.Rpc/MQTTnet.Extensions.Rpc.csproj | 6 +++++- .../MQTTnet.Extensions.TopicTemplate.csproj | 6 +++++- Source/MQTTnet.Server/MQTTnet.Server.csproj | 8 ++++++-- Source/MQTTnet.TestApp/MQTTnet.TestApp.csproj | 6 +++++- Source/MQTTnet.Tests/MQTTnet.Tests.csproj | 6 +++++- Source/MQTTnet/MQTTnet.csproj | 5 ++++- 11 files changed, 55 insertions(+), 12 deletions(-) diff --git a/Samples/MQTTnet.Samples.csproj b/Samples/MQTTnet.Samples.csproj index 90640f8b6..a80861fc4 100644 --- a/Samples/MQTTnet.Samples.csproj +++ b/Samples/MQTTnet.Samples.csproj @@ -9,7 +9,11 @@ true false false - 1591;NETSDK1138 + 1591;NETSDK1138;NU1803;NU1901;NU1902 + true + true + all + true diff --git a/Source/MQTTnet.AspTestApp/MQTTnet.AspTestApp.csproj b/Source/MQTTnet.AspTestApp/MQTTnet.AspTestApp.csproj index f104dd180..765e90351 100644 --- a/Source/MQTTnet.AspTestApp/MQTTnet.AspTestApp.csproj +++ b/Source/MQTTnet.AspTestApp/MQTTnet.AspTestApp.csproj @@ -8,7 +8,11 @@ true false false - 1591;NETSDK1138 + 1591;NETSDK1138;NU1803;NU1901;NU1902 + true + true + all + true diff --git a/Source/MQTTnet.AspnetCore/MQTTnet.AspNetCore.csproj b/Source/MQTTnet.AspnetCore/MQTTnet.AspNetCore.csproj index 675fae48d..4e46db45f 100644 --- a/Source/MQTTnet.AspnetCore/MQTTnet.AspNetCore.csproj +++ b/Source/MQTTnet.AspnetCore/MQTTnet.AspNetCore.csproj @@ -31,7 +31,11 @@ true true true - 1591;NETSDK1138 + 1591;NETSDK1138;NU1803;NU1901;NU1902 + true + true + all + true diff --git a/Source/MQTTnet.Benchmarks/MQTTnet.Benchmarks.csproj b/Source/MQTTnet.Benchmarks/MQTTnet.Benchmarks.csproj index 4a4563028..0d2e1857c 100644 --- a/Source/MQTTnet.Benchmarks/MQTTnet.Benchmarks.csproj +++ b/Source/MQTTnet.Benchmarks/MQTTnet.Benchmarks.csproj @@ -9,7 +9,11 @@ false false true - 1591;NETSDK1138 + 1591;NETSDK1138;NU1803;NU1901;NU1902 + true + true + all + true diff --git a/Source/MQTTnet.Extensions.ManagedClient/MQTTnet.Extensions.ManagedClient.csproj b/Source/MQTTnet.Extensions.ManagedClient/MQTTnet.Extensions.ManagedClient.csproj index c06f61ba7..7cf4c696a 100644 --- a/Source/MQTTnet.Extensions.ManagedClient/MQTTnet.Extensions.ManagedClient.csproj +++ b/Source/MQTTnet.Extensions.ManagedClient/MQTTnet.Extensions.ManagedClient.csproj @@ -30,7 +30,11 @@ For release notes please go to MQTTnet release notes (https://www.nuget.org/packages/MQTTnet/). true true - 1591;NETSDK1138 + 1591;NETSDK1138;NU1803;NU1901;NU1902 + true + true + all + true diff --git a/Source/MQTTnet.Extensions.Rpc/MQTTnet.Extensions.Rpc.csproj b/Source/MQTTnet.Extensions.Rpc/MQTTnet.Extensions.Rpc.csproj index 39f4249c6..a50a19a6f 100644 --- a/Source/MQTTnet.Extensions.Rpc/MQTTnet.Extensions.Rpc.csproj +++ b/Source/MQTTnet.Extensions.Rpc/MQTTnet.Extensions.Rpc.csproj @@ -30,7 +30,11 @@ For release notes please go to MQTTnet release notes (https://www.nuget.org/packages/MQTTnet/). true true - 1591;NETSDK1138 + 1591;NETSDK1138;NU1803;NU1901;NU1902 + true + true + all + true diff --git a/Source/MQTTnet.Extensions.TopicTemplate/MQTTnet.Extensions.TopicTemplate.csproj b/Source/MQTTnet.Extensions.TopicTemplate/MQTTnet.Extensions.TopicTemplate.csproj index 7149f4526..e74a41187 100644 --- a/Source/MQTTnet.Extensions.TopicTemplate/MQTTnet.Extensions.TopicTemplate.csproj +++ b/Source/MQTTnet.Extensions.TopicTemplate/MQTTnet.Extensions.TopicTemplate.csproj @@ -31,7 +31,11 @@ MIT For release notes please go to MQTTnet release notes (https://www.nuget.org/packages/MQTTnet/). true - 1591;NETSDK1138 + 1591;NETSDK1138;NU1803;NU1901;NU1902 + true + true + all + true diff --git a/Source/MQTTnet.Server/MQTTnet.Server.csproj b/Source/MQTTnet.Server/MQTTnet.Server.csproj index 7f09ecdf7..faecf048a 100644 --- a/Source/MQTTnet.Server/MQTTnet.Server.csproj +++ b/Source/MQTTnet.Server/MQTTnet.Server.csproj @@ -1,4 +1,4 @@ - + net8.0 @@ -29,7 +29,11 @@ true MIT true - 1591;NETSDK1138 + 1591;NETSDK1138;NU1803;NU1901;NU1902 + true + true + all + true enable disable diff --git a/Source/MQTTnet.TestApp/MQTTnet.TestApp.csproj b/Source/MQTTnet.TestApp/MQTTnet.TestApp.csproj index af34f5c92..8d39dc403 100644 --- a/Source/MQTTnet.TestApp/MQTTnet.TestApp.csproj +++ b/Source/MQTTnet.TestApp/MQTTnet.TestApp.csproj @@ -8,7 +8,11 @@ false false true - 1591;NETSDK1138 + 1591;NETSDK1138;NU1803;NU1901;NU1902 + true + true + all + true diff --git a/Source/MQTTnet.Tests/MQTTnet.Tests.csproj b/Source/MQTTnet.Tests/MQTTnet.Tests.csproj index 3cddeb211..a5563e23c 100644 --- a/Source/MQTTnet.Tests/MQTTnet.Tests.csproj +++ b/Source/MQTTnet.Tests/MQTTnet.Tests.csproj @@ -6,7 +6,11 @@ false false true - 1591;NETSDK1138 + 1591;NETSDK1138;NU1803;NU1901;NU1902 + true + true + all + true diff --git a/Source/MQTTnet/MQTTnet.csproj b/Source/MQTTnet/MQTTnet.csproj index fbc7e5fa1..f37be30c1 100644 --- a/Source/MQTTnet/MQTTnet.csproj +++ b/Source/MQTTnet/MQTTnet.csproj @@ -38,8 +38,11 @@ true MIT true - 1591;NETSDK1138 + 1591;NETSDK1138;NU1803;NU1901;NU1902 true + true + all + true