diff --git a/src/RepoM.App/ViewModels/HelpViewModel.cs b/src/RepoM.App/ViewModels/HelpViewModel.cs index ce82d0de..612c3592 100644 --- a/src/RepoM.App/ViewModels/HelpViewModel.cs +++ b/src/RepoM.App/ViewModels/HelpViewModel.cs @@ -21,8 +21,7 @@ public HelpViewModel(ITranslationService translationService) private static string GetHeader() { - AssemblyName? appName = Assembly.GetEntryAssembly()?.GetName(); - return appName?.Name + ' ' + appName?.Version?.ToString(2).Trim(); + return ((Assembly.GetEntryAssembly()?.GetName().Name ?? ThisAssembly.AssemblyName) + " " + ThisAssembly.AssemblyInformationalVersion).Trim(); } private static string GetHelp(ITranslationService translationService)