Browse Source

Add version to MQTTnet.Server.

release/3.x.x
Christian Kratky 5 years ago
parent
commit
6262a16504
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      Source/MQTTnet.Server/MQTTnet.Server.csproj
  2. +1
    -1
      Source/MQTTnet.Server/Program.cs

+ 1
- 0
Source/MQTTnet.Server/MQTTnet.Server.csproj View File

@@ -14,6 +14,7 @@
<SignAssembly>false</SignAssembly> <SignAssembly>false</SignAssembly>
<DelaySign>false</DelaySign> <DelaySign>false</DelaySign>
<LangVersion>latest</LangVersion> <LangVersion>latest</LangVersion>
<Version>1.0.0</Version>
<TypeScriptToolsVersion>3.3</TypeScriptToolsVersion> <TypeScriptToolsVersion>3.3</TypeScriptToolsVersion>
</PropertyGroup> </PropertyGroup>




+ 1
- 1
Source/MQTTnet.Server/Program.cs View File

@@ -52,7 +52,7 @@ namespace MQTTnet.Server


Console.ForegroundColor = ConsoleColor.White; Console.ForegroundColor = ConsoleColor.White;
Console.WriteLine($@" Console.WriteLine($@"
Version: {Assembly.GetExecutingAssembly().GetName().Version}
Version: {Assembly.GetExecutingAssembly().GetCustomAttribute<AssemblyInformationalVersionAttribute>().InformationalVersion}
License: MIT (read LICENSE file) License: MIT (read LICENSE file)
Sponsoring: https://opencollective.com/mqttnet Sponsoring: https://opencollective.com/mqttnet
Support: https://github.com/chkr1011/MQTTnet/issues Support: https://github.com/chkr1011/MQTTnet/issues


Loading…
Cancel
Save