mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-04-12 12:06:29 +00:00
Merged in feature/pdc-8 (pull request #11)
pdc-8 : Added PepperDashVersion property to Debug Class
This commit is contained in:
commit
44f085d6dd
4 changed files with 421 additions and 419 deletions
Binary file not shown.
Binary file not shown.
|
|
@ -32,6 +32,8 @@ namespace PepperDash.Core
|
|||
|
||||
static int SaveTimeoutMs = 30000;
|
||||
|
||||
public static string PepperDashCoreVersion { get; private set; }
|
||||
|
||||
static CTimer SaveTimer;
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -49,9 +51,9 @@ namespace PepperDash.Core
|
|||
// Get the assembly version and print it to console and the log
|
||||
var version = Assembly.GetExecutingAssembly().GetName().Version;
|
||||
|
||||
var versionString = string.Format("{0}.{1}.{2}", version.Major, version.Minor, version.Build);
|
||||
PepperDashCoreVersion = string.Format("{0}.{1}.{2}", version.Major, version.Minor, version.Build);
|
||||
|
||||
var msg = string.Format("[App {0}] Using PepperDash_Core v{1}", InitialParametersClass.ApplicationNumber, versionString);
|
||||
var msg = string.Format("[App {0}] Using PepperDash_Core v{1}", InitialParametersClass.ApplicationNumber, PepperDashCoreVersion);
|
||||
|
||||
CrestronConsole.PrintLine(msg);
|
||||
|
||||
|
|
|
|||
|
|
@ -4,4 +4,4 @@
|
|||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("Pepperdash_Core")]
|
||||
[assembly: AssemblyCopyright("Copyright © PepperDash 2019")]
|
||||
[assembly: AssemblyVersion("1.0.17.*")]
|
||||
[assembly: AssemblyVersion("1.0.18.*")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue