Add version to MQTTnet.Server.

This commit is contained in:
Christian Kratky
2019-06-06 21:11:47 +02:00
parent 0de683979d
commit 6262a16504
2 changed files with 2 additions and 1 deletions
@@ -14,6 +14,7 @@
<SignAssembly>false</SignAssembly>
<DelaySign>false</DelaySign>
<LangVersion>latest</LangVersion>
<Version>1.0.0</Version>
<TypeScriptToolsVersion>3.3</TypeScriptToolsVersion>
</PropertyGroup>
+1 -1
View File
@@ -52,7 +52,7 @@ namespace MQTTnet.Server
Console.ForegroundColor = ConsoleColor.White;
Console.WriteLine($@"
Version: {Assembly.GetExecutingAssembly().GetName().Version}
Version: {Assembly.GetExecutingAssembly().GetCustomAttribute<AssemblyInformationalVersionAttribute>().InformationalVersion}
License: MIT (read LICENSE file)
Sponsoring: https://opencollective.com/mqttnet
Support: https://github.com/chkr1011/MQTTnet/issues