diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index fb2ea07..e60e817 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -53,10 +53,9 @@ jobs:
- name: Package NuGet
run: |
- nuget pack ../nuspec/nuget/BBT.StructureTools.nuspec
- nuget pack ../nuspec/nuget/BBT.StructureTools.Extensions.nuspec
+ dotnet pack -c $BUILD_CONFIG -p:PackageVersion=$BUILD_VERSION
- name: Publish NuGet
run: |
- nuget push ./BBT.StructureTools.$BUILD_VERSION.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGETORG}}
- nuget push ./BBT.StructureTools.Extensions.$BUILD_VERSION.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGETORG}}
+ nuget push ./BBT.StructureTools/bin/Release/BBT.StructureTools.$BUILD_VERSION.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGETORG}}
+ nuget push ./BBT.StructureTools.Extensions/bin/Release/BBT.StructureTools.Extensions.$BUILD_VERSION.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGETORG}}
diff --git a/nuspec/nuget/BBT.StructureTools.Extensions.nuspec b/nuspec/nuget/BBT.StructureTools.Extensions.nuspec
deleted file mode 100644
index 16eb2e2..0000000
--- a/nuspec/nuget/BBT.StructureTools.Extensions.nuspec
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
- BBT.StructureTools.Extensions
- BBT StructureTools Extensions
- 2.1.2
- BBT Software AG
- bbtsoftware
- .NET. classes for copying, comparing and converting object structures.
- .NET. classes for copying, comparing and converting object structures.
- MIT
- icon.png
- false
-
- Copyright © BBT Software AG
- StructureTools Functional
- https://github.com/bbtsoftware/BBT.StructureTools/releases/tag/2.1.2
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/nuspec/nuget/BBT.StructureTools.nuspec b/nuspec/nuget/BBT.StructureTools.nuspec
deleted file mode 100644
index b185b18..0000000
--- a/nuspec/nuget/BBT.StructureTools.nuspec
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
- BBT.StructureTools
- BBT StructureTools
- 2.1.2
- BBT Software AG
- bbtsoftware
- .NET. classes for copying, comparing and converting object structures.
- .NET. classes for copying, comparing and converting object structures.
- MIT
- icon.png
- false
-
- Copyright © BBT Software AG
- StructureTools Functional
- https://github.com/bbtsoftware/BBT.StructureTools/releases/tag/2.1.2
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/nuspec/nuget/icon.png b/nuspec/nuget/icon.png
deleted file mode 100644
index 9925180..0000000
Binary files a/nuspec/nuget/icon.png and /dev/null differ