Assembly info 2
This commit is contained in:
parent
25d0789e76
commit
e5b0fcf173
@ -18,8 +18,8 @@ namespace OWTrack
|
|||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
loadSave();
|
loadSave();
|
||||||
checkStatus();
|
checkStatus();
|
||||||
label4.Text = Program.Version.ToString();
|
label4.Text = Program.version.ToString();
|
||||||
Text = "OWTrack " + Program.Version.ToString();
|
Text = "OWTrack " + Program.version.ToString();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void checkStatus()
|
private void checkStatus()
|
||||||
|
@ -22,14 +22,6 @@ namespace OWTrack
|
|||||||
Application.SetCompatibleTextRenderingDefault(false);
|
Application.SetCompatibleTextRenderingDefault(false);
|
||||||
Application.Run(new Form1());
|
Application.Run(new Form1());
|
||||||
}
|
}
|
||||||
private static Version version = new Version(Application.ProductVersion);
|
public static Version version = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
|
||||||
|
|
||||||
public static Version Version
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
return version;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -35,7 +35,8 @@ using System.Runtime.InteropServices;
|
|||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
//[assembly: AssemblyVersion("1.0.0.0")]
|
//[assembly: AssemblyVersion("1.0.0.0")]
|
||||||
//[assembly: AssemblyFileVersion("1.0.0.0")]
|
//[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||||
|
[assembly: AssemblyVersion("2.0.*")]
|
||||||
|
[assembly: AssemblyFileVersion("1.0.*")]
|
||||||
[assembly: NeutralResourcesLanguage("")]
|
[assembly: NeutralResourcesLanguage("")]
|
||||||
[assembly: AssemblyVersion("1.2.3")]
|
|
||||||
[assembly: AssemblyFileVersion("1.2.3")]
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user