Assembly info 2

This commit is contained in:
HeshamTB 2018-08-31 19:32:44 +03:00
parent 25d0789e76
commit e5b0fcf173
3 changed files with 6 additions and 13 deletions

View File

@ -18,8 +18,8 @@ namespace OWTrack
InitializeComponent();
loadSave();
checkStatus();
label4.Text = Program.Version.ToString();
Text = "OWTrack " + Program.Version.ToString();
label4.Text = Program.version.ToString();
Text = "OWTrack " + Program.version.ToString();
}
private void checkStatus()

View File

@ -22,14 +22,6 @@ namespace OWTrack
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
private static Version version = new Version(Application.ProductVersion);
public static Version Version
{
get
{
return version;
}
}
public static Version version = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
}
}

View File

@ -35,7 +35,8 @@ using System.Runtime.InteropServices;
// [assembly: AssemblyVersion("1.0.*")]
//[assembly: AssemblyVersion("1.0.0.0")]
//[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("2.0.*")]
[assembly: AssemblyFileVersion("1.0.*")]
[assembly: NeutralResourcesLanguage("")]
[assembly: AssemblyVersion("1.2.3")]
[assembly: AssemblyFileVersion("1.2.3")]