From 6262a1650451d02e452671e470ae14423f68f82f Mon Sep 17 00:00:00 2001 From: Christian Kratky Date: Thu, 6 Jun 2019 21:11:47 +0200 Subject: [PATCH] Add version to MQTTnet.Server. --- Source/MQTTnet.Server/MQTTnet.Server.csproj | 1 + Source/MQTTnet.Server/Program.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/MQTTnet.Server/MQTTnet.Server.csproj b/Source/MQTTnet.Server/MQTTnet.Server.csproj index 4a1e21c..8d150a3 100644 --- a/Source/MQTTnet.Server/MQTTnet.Server.csproj +++ b/Source/MQTTnet.Server/MQTTnet.Server.csproj @@ -14,6 +14,7 @@ false false latest + 1.0.0 3.3 diff --git a/Source/MQTTnet.Server/Program.cs b/Source/MQTTnet.Server/Program.cs index cb773ce..69b0949 100644 --- a/Source/MQTTnet.Server/Program.cs +++ b/Source/MQTTnet.Server/Program.cs @@ -52,7 +52,7 @@ namespace MQTTnet.Server Console.ForegroundColor = ConsoleColor.White; Console.WriteLine($@" -Version: {Assembly.GetExecutingAssembly().GetName().Version} +Version: {Assembly.GetExecutingAssembly().GetCustomAttribute().InformationalVersion} License: MIT (read LICENSE file) Sponsoring: https://opencollective.com/mqttnet Support: https://github.com/chkr1011/MQTTnet/issues