From 8321806acf1dbd075fcdf8e34218ba7bc25844c8 Mon Sep 17 00:00:00 2001
From: christian <6939810+chkr1011@users.noreply.github.com>
Date: Sun, 25 Jan 2026 11:50:48 +0100
Subject: [PATCH] Fix nuget package generation
---
Directory.Build.props | 23 +----------------------
Directory.Build.targets | 24 ++++++++++++++++++++++++
MQTTnet.sln | 1 +
Source/MQTTnet/MQTTnet.csproj | 2 +-
4 files changed, 27 insertions(+), 23 deletions(-)
create mode 100644 Directory.Build.targets
diff --git a/Directory.Build.props b/Directory.Build.props
index cc695f65..f7692b94 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -27,29 +27,8 @@
default
-
+
true
-
- LICENSE
- nuget.png
- https://github.com/dotnet/MQTTnet
- https://github.com/dotnet/MQTTnet.git
- git
- true
- snupkg
- true
- true
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Directory.Build.targets b/Directory.Build.targets
new file mode 100644
index 00000000..be417b4e
--- /dev/null
+++ b/Directory.Build.targets
@@ -0,0 +1,24 @@
+
+
+
+ LICENSE
+ nuget.png
+ https://github.com/dotnet/MQTTnet
+ https://github.com/dotnet/MQTTnet.git
+ git
+ true
+ snupkg
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/MQTTnet.sln b/MQTTnet.sln
index 2c1fcd71..45c7bf35 100644
--- a/MQTTnet.sln
+++ b/MQTTnet.sln
@@ -13,6 +13,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
LICENSE = LICENSE
README.md = README.md
Source\ReleaseNotes.md = Source\ReleaseNotes.md
+ Directory.Build.targets = Directory.Build.targets
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MQTTnet.AspNetCore", "Source\MQTTnet.AspnetCore\MQTTnet.AspNetCore.csproj", "{F10C4060-F7EE-4A83-919F-FF723E72F94A}"
diff --git a/Source/MQTTnet/MQTTnet.csproj b/Source/MQTTnet/MQTTnet.csproj
index 87b4e139..bc79f16c 100644
--- a/Source/MQTTnet/MQTTnet.csproj
+++ b/Source/MQTTnet/MQTTnet.csproj
@@ -25,6 +25,6 @@
Full
-
+
\ No newline at end of file