diff --git a/src/Views/About.axaml.cs b/src/Views/About.axaml.cs index 09fc18e26..45a492c10 100644 --- a/src/Views/About.axaml.cs +++ b/src/Views/About.axaml.cs @@ -15,7 +15,12 @@ public About() var assembly = Assembly.GetExecutingAssembly(); var ver = assembly.GetName().Version; if (ver != null) + { TxtVersion.Text = $"{ver.Major}.{ver.Minor:D2}"; +#if DEBUG + TxtVersion.Text += "-dev"; +#endif + } var meta = assembly.GetCustomAttributes(); foreach (var attr in meta)