From e8d9740521015574c99ba7f1ecb7cee169c10ff8 Mon Sep 17 00:00:00 2001 From: Lex Li Date: Sat, 8 Apr 2023 15:51:59 -0400 Subject: [PATCH] Revised publishing settings. --- SharpSnmpLib/SharpSnmpLib.csproj | 8 +++++--- dist.publish2nugetdotorg.bat | 1 + 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/SharpSnmpLib/SharpSnmpLib.csproj b/SharpSnmpLib/SharpSnmpLib.csproj index 707226d1..bd61a8d1 100644 --- a/SharpSnmpLib/SharpSnmpLib.csproj +++ b/SharpSnmpLib/SharpSnmpLib.csproj @@ -25,9 +25,6 @@ true sharpsnmplib.snk File - 12.5.1.0 - 12.5.1.0 - 12.5.1 true MIT False @@ -36,12 +33,17 @@ enable true true + portable snupkg S5547;S907;S1133;S101;S1135 + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/dist.publish2nugetdotorg.bat b/dist.publish2nugetdotorg.bat index 13b051d2..a13e3710 100644 --- a/dist.publish2nugetdotorg.bat +++ b/dist.publish2nugetdotorg.bat @@ -1,2 +1,3 @@ .\nuget.exe update /self for %%f in (.\*.nupkg) do .\nuget.exe push %%f -Source https://api.nuget.org/v3/index.json +for %%f in (.\*.snupkg) do .\nuget.exe push %%f -Source https://api.nuget.org/v3/index.json \ No newline at end of file