cleanup, fixes

This commit is contained in:
Frede Hundewadt 2022-12-12 07:16:33 +01:00
parent 3b9ac0238d
commit fcfec349d7
16 changed files with 866 additions and 868 deletions

View file

@ -17,5 +17,5 @@ using System.Runtime.InteropServices;
[assembly: ComVisible(false)]
[assembly: Guid("8D850197-78DB-4D16-A91F-E5BB6E8880A7")]
[assembly: AssemblyVersion("1.0.1.0")]
[assembly: AssemblyFileVersion("1.0.1.0")]
[assembly: AssemblyVersion("1.0.22346.0710")]
[assembly: AssemblyFileVersion("1.0.22346.0710")]

View file

@ -6,18 +6,16 @@
int build = 1;
int revision = 0;
string version = String.Format("{0}.{1}.{2}.{3}", major, minor, build, revision);
// string version = String.Format("{0}.{1}.{2}.{3}", major, minor, build, revision);
if (minor % 2 == 1) // Preview build
{
// Auto-generate the build and revision
DateTime buildTime = DateTime.Now;
build = (1000 * (buildTime.Year % 100)) + buildTime.DayOfYear;
revision = (100 * buildTime.Hour) + buildTime.Minute;
version = String.Format("{0}.{1}.{2:00000}.{3:0000}", major, minor, build, revision);
}
string version = String.Format("{0}.{1}.{2:00000}.{3:0000}", major, minor, build, revision);
#>
// This code was generated by a tool. Any changes made manually will be lost
// the next time this code is regenerated.