Assembly version

This commit is contained in:
2019-09-06 19:42:33 +02:00
parent ac60ef75c7
commit be9a2f2815
3 changed files with 39 additions and 3 deletions

View File

@@ -1,5 +1,7 @@
using System;
using System.Configuration;
using System.Reflection;
using System.Web.Configuration;
using System.Windows;
using System.Windows.Media.Imaging;
using Caliburn.Micro;
@@ -24,7 +26,7 @@ namespace LaDOSE.DesktopApp.ViewModels
protected override void OnInitialize()
{
this.DisplayName = "LaDOSE";
this.DisplayName = "LaDOSE " + Assembly.GetExecutingAssembly().GetName().Version.ToString(); ;
this.User = "Test";
this.AppIcon = BitmapFrame.Create(Application.GetResourceStream(new Uri("/LaDOSE.DesktopApp;component/Resources/64x64.png",
UriKind.RelativeOrAbsolute)).Stream);