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

@@ -51,5 +51,5 @@ using System.Windows;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.0.0.1")]
[assembly: AssemblyFileVersion("1.0.0.1")]

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);