cleanup, fixes and additions
This commit is contained in:
parent
0a0aef7d20
commit
10fe0ac1b6
19 changed files with 3020 additions and 3023 deletions
|
@ -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")]
|
|
@ -6,18 +6,15 @@
|
|||
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.
|
||||
|
|
Loading…
Reference in a new issue