cleanup and fixes
This commit is contained in:
parent
6ebb51d1dc
commit
673c345198
12 changed files with 613 additions and 615 deletions
|
@ -17,5 +17,5 @@ using System.Runtime.InteropServices;
|
||||||
[assembly: ComVisible(false)]
|
[assembly: ComVisible(false)]
|
||||||
[assembly: Guid("8D850197-78DB-4D16-A91F-E5BB6E8880A7")]
|
[assembly: Guid("8D850197-78DB-4D16-A91F-E5BB6E8880A7")]
|
||||||
|
|
||||||
[assembly: AssemblyVersion("1.0.1.0")]
|
[assembly: AssemblyVersion("1.0.22346.0710")]
|
||||||
[assembly: AssemblyFileVersion("1.0.1.0")]
|
[assembly: AssemblyFileVersion("1.0.22346.0710")]
|
|
@ -6,18 +6,16 @@
|
||||||
int build = 1;
|
int build = 1;
|
||||||
int revision = 0;
|
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
|
// Auto-generate the build and revision
|
||||||
|
|
||||||
DateTime buildTime = DateTime.Now;
|
DateTime buildTime = DateTime.Now;
|
||||||
|
|
||||||
build = (1000 * (buildTime.Year % 100)) + buildTime.DayOfYear;
|
build = (1000 * (buildTime.Year % 100)) + buildTime.DayOfYear;
|
||||||
revision = (100 * buildTime.Hour) + buildTime.Minute;
|
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
|
// This code was generated by a tool. Any changes made manually will be lost
|
||||||
// the next time this code is regenerated.
|
// the next time this code is regenerated.
|
||||||
|
|
Loading…
Reference in a new issue