Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 1afce4f7 authored by Michael KRISPER's avatar Michael KRISPER
Browse files

Added Version Number in Window-Title and added "For Testing and Feedback"

parent abb07911
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@
xmlns:system="clr-namespace:System;assembly=mscorlib"
d:DataContext="{d:DesignInstance Type=Implementation:MainWindowViewModel}" x:Class="VECTO3GUI2020.MainWindow"
mc:Ignorable="d"
Title="Vecto" Height="450" Width="820"
Title="{Binding Version}" Height="450" Width="820"
MinWidth="800"
MinHeight="420"
......
......@@ -11,7 +11,7 @@ using System.Windows;
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("VECTO3GUI2020")]
[assembly: AssemblyCopyright("Copyright © 2020")]
[assembly: AssemblyCopyright("Copyright © 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: InternalsVisibleTo("Vecto3GUI2020Test")]
......
......@@ -30,5 +30,5 @@
*/
using System.Reflection;
[assembly: AssemblyVersion("0.1.0.1954")]
[assembly: AssemblyFileVersion("0.1.0.1954")]
[assembly: AssemblyVersion("0.2.0.2436")]
[assembly: AssemblyFileVersion("0.2.0.2436")]
......@@ -33,8 +33,8 @@
<#@ output extension=".cs"#>
<#@ include file="../../VectoCore/VectoCore/VersionNumber.t4" once="true" #>
using System.Reflection;
[assembly: AssemblyVersion("0.1.0.<#= GetBuildNumber() #>")]
[assembly: AssemblyFileVersion("0.1.0.<#= GetBuildNumber() #>")]
[assembly: AssemblyVersion("0.2.0.<#= GetBuildNumber() #>")]
[assembly: AssemblyFileVersion("0.2.0.<#= GetBuildNumber() #>")]
<#+
int RevisionNumber = (int)(DateTime.UtcNow - new DateTime(2017, 1, 1)).TotalDays;
#>
\ No newline at end of file
......@@ -5,6 +5,7 @@ using Ninject;
using System.Diagnostics;
using System.Windows.Input;
using Castle.DynamicProxy.Generators.Emitters.SimpleAST;
using System.Reflection;
using VECTO3GUI2020.Helper;
using VECTO3GUI2020.ViewModel.Implementation.Common;
using VECTO3GUI2020.Util;
......@@ -96,6 +97,9 @@ namespace VECTO3GUI2020.ViewModel.Implementation
get => _jobListVm;
set => SetProperty(ref _jobListVm, value);
}
public string Version => "VECTO Multistage " + Assembly.GetExecutingAssembly().GetName().Version + " (For Testing and Feedback)";
#endregion
#region Commands
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment