diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 04b9aee9..c07f369e 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -200,10 +200,9 @@ jobs:
--api-key ${{ secrets.GITHUB_TOKEN }}
# Only publish to NuGet on stable releases
- # Repeat the run for these inputs: Fido2, Fido2.Models, Fido2.Aspnet
- - name: Publish package to NuGet Registry
+ - name: Publish packages (NuGet Registry)
if: ${{ github.event_name == 'release' }}
- run: |
- dotnet nuget push **/Fido2.nupkg --source "https://api.nuget.org/v3/index.json" --api-key "${{ secrets.nuget_api_key }}"
- dotnet nuget push **/Fido2.Models.nupkg --source "https://api.nuget.org/v3/index.json" --api-key "${{ secrets.nuget_api_key }}"
- dotnet nuget push **/Fido2.AspNet.nupkg --source "https://api.nuget.org/v3/index.json" --api-key "${{ secrets.nuget_api_key }}"
+ run: >
+ dotnet nuget push **/*.nupkg
+ --source https://api.nuget.org/v3/index.json
+ --api-key ${{ secrets.nuget_api_key }}
diff --git a/Directory.Build.props b/Directory.Build.props
index a0a197bd..db1b40c7 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -29,6 +29,7 @@
false
+ false
false
diff --git a/Src/Directory.Build.props b/Src/Directory.Build.props
index 00c23c19..1520c7df 100644
--- a/Src/Directory.Build.props
+++ b/Src/Directory.Build.props
@@ -9,11 +9,5 @@
-
-
-
-
- true
- false
-
+
\ No newline at end of file
diff --git a/Src/Fido2.AspNet/Fido2.AspNet.csproj b/Src/Fido2.AspNet/Fido2.AspNet.csproj
index 7721adf8..3f1af908 100644
--- a/Src/Fido2.AspNet/Fido2.AspNet.csproj
+++ b/Src/Fido2.AspNet/Fido2.AspNet.csproj
@@ -3,6 +3,7 @@
$(SupportedTargetFrameworks)
Fido2NetLib
+ true
diff --git a/Src/Fido2.Models/Fido2.Models.csproj b/Src/Fido2.Models/Fido2.Models.csproj
index fe9c0304..b4a6a025 100644
--- a/Src/Fido2.Models/Fido2.Models.csproj
+++ b/Src/Fido2.Models/Fido2.Models.csproj
@@ -6,6 +6,7 @@
true
true
$(NoWarn);CS1591
+ true
diff --git a/Src/Fido2/Fido2.csproj b/Src/Fido2/Fido2.csproj
index 026cb86d..cbe7d1db 100644
--- a/Src/Fido2/Fido2.csproj
+++ b/Src/Fido2/Fido2.csproj
@@ -7,6 +7,7 @@
disable
true
$(NoWarn);IDE0057
+ true
diff --git a/Test/Test.csproj b/Test/Test.csproj
index 32cd7380..4aea3295 100644
--- a/Test/Test.csproj
+++ b/Test/Test.csproj
@@ -2,7 +2,6 @@
$(SupportedTargetFrameworks)
- false
$(NoWarm);CA1822;IDE0007;IDE0037;IDE0039;IDE0057;CA1825
diff --git a/Tests/Fido2.Ctap2.Tests/Fido2.Ctap2.Tests.csproj b/Tests/Fido2.Ctap2.Tests/Fido2.Ctap2.Tests.csproj
index 8d3c5295..f4e640ad 100644
--- a/Tests/Fido2.Ctap2.Tests/Fido2.Ctap2.Tests.csproj
+++ b/Tests/Fido2.Ctap2.Tests/Fido2.Ctap2.Tests.csproj
@@ -3,7 +3,6 @@
$(SupportedTargetFrameworks)
enable
- false