Skip to content

Commit

Permalink
Update version numbers and fix names in start up log
Browse files Browse the repository at this point in the history
  • Loading branch information
alexatstariongroup committed Apr 5, 2022
1 parent acafa78 commit 3e9af10
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CDP4WebServer/CDP4WebServer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<OutputType>Exe</OutputType>
<Company>RHEA System S.A.</Company>
<Title>CDP4WebServer-CE</Title>
<Version>7.0.5</Version>
<Version>7.0.6</Version>
<Description>CDP4 Services Host</Description>
<Copyright>Copyright © RHEA System S.A.</Copyright>
<Authors>Sam, Merlin, Alex, Naron, Alexander</Authors>
Expand Down
8 changes: 4 additions & 4 deletions CDP4WebServer/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public static int Main(string[] args)
try
{
Logger.Info("################################################################");
Logger.Info($"Starting CDP4 Services v{Assembly.GetEntryAssembly().GetName().Version}");
Logger.Info($"Starting COMET Services v{Assembly.GetEntryAssembly()?.GetName().Version}");

// load application configuration from file
AppConfig.Load();
Expand Down Expand Up @@ -88,14 +88,14 @@ public static int Main(string[] args)
{
if (IsRunningOnMono())
{
Logger.Info("CDP4 Services Running on Mono Runtime @ {0}", hostString);
Logger.Info("COMET Services Running on Mono Runtime @ {0}", hostString);

var terminationSignals = GetUnixTerminationSignals();
UnixSignal.WaitAny(terminationSignals);
}
else
{
Logger.Info("CDP4 Services Running on .NET Runtime @ {0}", hostString);
Logger.Info("COMET Services Running on .NET Runtime @ {0}", hostString);

Console.WriteLine("Running on {0}", hostString);
Console.WriteLine("Press enter to exit");
Expand All @@ -117,7 +117,7 @@ public static int Main(string[] args)
}

// global catch all
Logger.Fatal(ex, "The CDP4 Services encountered an unrecoverable error");
Logger.Fatal(ex, "The COMET Services encountered an unrecoverable error");
return 42;
}
}
Expand Down
2 changes: 1 addition & 1 deletion CDP4WebServices.API/CDP4WebServices.API.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>net472</TargetFramework>
<Company>RHEA System S.A.</Company>
<Title>CDP4WebServices-CE.API</Title>
<Version>7.0.5</Version>
<Version>7.0.6</Version>
<Description>Library that contains the CDP4 Services API</Description>
<Copyright>Copyright © RHEA System S.A.</Copyright>
<Authors>Sam, Merlin, Alex, Naron, Alexander</Authors>
Expand Down

0 comments on commit 3e9af10

Please sign in to comment.