diff --git a/InfosysPublisher/App.xaml.cs b/InfosysPublisher/App.xaml.cs index 8285c7b..2d7c2f4 100644 --- a/InfosysPublisher/App.xaml.cs +++ b/InfosysPublisher/App.xaml.cs @@ -8,6 +8,8 @@ using System.Reflection; using System.Threading.Tasks; using System.Windows; +//[assembly: AssemblyVersion("2024.08.02.0")] +//Publish location:InfosysPublisher namespace InfosysPublisher { /// @@ -19,6 +21,7 @@ namespace InfosysPublisher internal static Settings.Application? _application; internal static User User; + internal static Version CurrentVersion; protected override void OnStartup(StartupEventArgs e) { @@ -26,6 +29,8 @@ namespace InfosysPublisher //base.OnStartup(e); _application = WinSettings.GetSettings(); + CurrentVersion = typeof(App).Assembly.GetName().Version; + if (_application == null) { OpenSettings(); diff --git a/InfosysPublisher/InfosysPublisher.csproj b/InfosysPublisher/InfosysPublisher.csproj index 7a9111d..fc3ecca 100644 --- a/InfosysPublisher/InfosysPublisher.csproj +++ b/InfosysPublisher/InfosysPublisher.csproj @@ -5,7 +5,7 @@ net8.0-windows7.0 enable true - 1.0.1.0 + 2024.08.02.0 infosysPublisher.ico diff --git a/InfosysPublisher/WinLogin.xaml b/InfosysPublisher/WinLogin.xaml index b06874f..4525ac8 100644 --- a/InfosysPublisher/WinLogin.xaml +++ b/InfosysPublisher/WinLogin.xaml @@ -11,6 +11,7 @@ + @@ -22,22 +23,25 @@ Infosys-Publisher + + Version: xxxx-xx-xx-xx + - + Username: - + - + Password: - + -