diff --git a/LocalizationTool/LocalizationTool.sln b/BuildTools/LocalizationTool/LocalizationTool.sln
similarity index 100%
rename from LocalizationTool/LocalizationTool.sln
rename to BuildTools/LocalizationTool/LocalizationTool.sln
diff --git a/LocalizationTool/LocalizationTool/LocalizationTool.csproj b/BuildTools/LocalizationTool/LocalizationTool/LocalizationTool.csproj
similarity index 100%
rename from LocalizationTool/LocalizationTool/LocalizationTool.csproj
rename to BuildTools/LocalizationTool/LocalizationTool/LocalizationTool.csproj
diff --git a/LocalizationTool/LocalizationTool/Program.cs b/BuildTools/LocalizationTool/LocalizationTool/Program.cs
similarity index 100%
rename from LocalizationTool/LocalizationTool/Program.cs
rename to BuildTools/LocalizationTool/LocalizationTool/Program.cs
diff --git a/LocalizationTool/LocalizationTool/Properties/AssemblyInfo.cs b/BuildTools/LocalizationTool/LocalizationTool/Properties/AssemblyInfo.cs
similarity index 100%
rename from LocalizationTool/LocalizationTool/Properties/AssemblyInfo.cs
rename to BuildTools/LocalizationTool/LocalizationTool/Properties/AssemblyInfo.cs
diff --git a/LocalizationTool/LocalizationTool/Properties/Resources.Designer.cs b/BuildTools/LocalizationTool/LocalizationTool/Properties/Resources.Designer.cs
similarity index 100%
rename from LocalizationTool/LocalizationTool/Properties/Resources.Designer.cs
rename to BuildTools/LocalizationTool/LocalizationTool/Properties/Resources.Designer.cs
diff --git a/LocalizationTool/LocalizationTool/Properties/Resources.resx b/BuildTools/LocalizationTool/LocalizationTool/Properties/Resources.resx
similarity index 100%
rename from LocalizationTool/LocalizationTool/Properties/Resources.resx
rename to BuildTools/LocalizationTool/LocalizationTool/Properties/Resources.resx
diff --git a/LocalizationTool/LocalizationTool/Properties/Settings.Designer.cs b/BuildTools/LocalizationTool/LocalizationTool/Properties/Settings.Designer.cs
similarity index 100%
rename from LocalizationTool/LocalizationTool/Properties/Settings.Designer.cs
rename to BuildTools/LocalizationTool/LocalizationTool/Properties/Settings.Designer.cs
diff --git a/LocalizationTool/LocalizationTool/Properties/Settings.settings b/BuildTools/LocalizationTool/LocalizationTool/Properties/Settings.settings
similarity index 100%
rename from LocalizationTool/LocalizationTool/Properties/Settings.settings
rename to BuildTools/LocalizationTool/LocalizationTool/Properties/Settings.settings
diff --git a/LocalizationTool/LocalizationTool/ResXCompiler.cs b/BuildTools/LocalizationTool/LocalizationTool/ResXCompiler.cs
similarity index 100%
rename from LocalizationTool/LocalizationTool/ResXCompiler.cs
rename to BuildTools/LocalizationTool/LocalizationTool/ResXCompiler.cs
diff --git a/LocalizationTool/LocalizationTool/Resources/Empty_resx.txt b/BuildTools/LocalizationTool/LocalizationTool/Resources/Empty_resx.txt
similarity index 100%
rename from LocalizationTool/LocalizationTool/Resources/Empty_resx.txt
rename to BuildTools/LocalizationTool/LocalizationTool/Resources/Empty_resx.txt
diff --git a/LocalizationTool/LocalizationTool/app.config b/BuildTools/LocalizationTool/LocalizationTool/app.config
similarity index 100%
rename from LocalizationTool/LocalizationTool/app.config
rename to BuildTools/LocalizationTool/LocalizationTool/app.config
diff --git a/BuildTools/UpdateVersionNumber/DisplayItem.cs b/BuildTools/UpdateVersionNumber/DisplayItem.cs
new file mode 100644
index 000000000..1c53a2753
--- /dev/null
+++ b/BuildTools/UpdateVersionNumber/DisplayItem.cs
@@ -0,0 +1,35 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace UpdateVersionNumber
+{
+ public class DisplayItem
+ {
+ public DisplayItem(string file, Version version)
+ {
+ m_file = file;
+ m_version = version;
+ }
+
+ private string m_file;
+
+ public string File
+ {
+ get { return m_file; }
+ set { m_file = value; }
+ }
+ private Version m_version;
+
+ public Version Version
+ {
+ get { return m_version; }
+ set { m_version = value; }
+ }
+
+ public override string ToString()
+ {
+ return m_file + " (" + m_version.ToString() + ")";
+ }
+ }
+}
diff --git a/BuildTools/UpdateVersionNumber/Form1.Designer.cs b/BuildTools/UpdateVersionNumber/Form1.Designer.cs
new file mode 100644
index 000000000..02bf1b15d
--- /dev/null
+++ b/BuildTools/UpdateVersionNumber/Form1.Designer.cs
@@ -0,0 +1,225 @@
+namespace UpdateVersionNumber
+{
+ partial class Form1
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.label1 = new System.Windows.Forms.Label();
+ this.textBox1 = new System.Windows.Forms.TextBox();
+ this.checkedListBox1 = new System.Windows.Forms.CheckedListBox();
+ this.label2 = new System.Windows.Forms.Label();
+ this.textBox2 = new System.Windows.Forms.TextBox();
+ this.button1 = new System.Windows.Forms.Button();
+ this.button2 = new System.Windows.Forms.Button();
+ this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog();
+ this.backgroundWorker1 = new System.ComponentModel.BackgroundWorker();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.progressBar1 = new System.Windows.Forms.ProgressBar();
+ this.groupBox1 = new System.Windows.Forms.GroupBox();
+ this.button3 = new System.Windows.Forms.Button();
+ this.panel1.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.groupBox1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Location = new System.Drawing.Point(16, 32);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(66, 13);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "New version";
+ //
+ // textBox1
+ //
+ this.textBox1.Location = new System.Drawing.Point(96, 32);
+ this.textBox1.Name = "textBox1";
+ this.textBox1.Size = new System.Drawing.Size(100, 20);
+ this.textBox1.TabIndex = 1;
+ //
+ // checkedListBox1
+ //
+ this.checkedListBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.checkedListBox1.CheckOnClick = true;
+ this.checkedListBox1.FormattingEnabled = true;
+ this.checkedListBox1.IntegralHeight = false;
+ this.checkedListBox1.Location = new System.Drawing.Point(16, 64);
+ this.checkedListBox1.Name = "checkedListBox1";
+ this.checkedListBox1.SelectionMode = System.Windows.Forms.SelectionMode.None;
+ this.checkedListBox1.Size = new System.Drawing.Size(212, 98);
+ this.checkedListBox1.Sorted = true;
+ this.checkedListBox1.TabIndex = 2;
+ //
+ // label2
+ //
+ this.label2.AutoSize = true;
+ this.label2.Location = new System.Drawing.Point(16, 8);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(36, 13);
+ this.label2.TabIndex = 3;
+ this.label2.Text = "Folder";
+ //
+ // textBox2
+ //
+ this.textBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.textBox2.Location = new System.Drawing.Point(96, 8);
+ this.textBox2.Name = "textBox2";
+ this.textBox2.ReadOnly = true;
+ this.textBox2.Size = new System.Drawing.Size(92, 20);
+ this.textBox2.TabIndex = 4;
+ this.textBox2.TextChanged += new System.EventHandler(this.textBox2_TextChanged);
+ //
+ // button1
+ //
+ this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.button1.Location = new System.Drawing.Point(196, 8);
+ this.button1.Name = "button1";
+ this.button1.Size = new System.Drawing.Size(24, 20);
+ this.button1.TabIndex = 5;
+ this.button1.Text = "...";
+ this.button1.UseVisualStyleBackColor = true;
+ this.button1.Click += new System.EventHandler(this.button1_Click);
+ //
+ // button2
+ //
+ this.button2.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
+ this.button2.Location = new System.Drawing.Point(86, 176);
+ this.button2.Name = "button2";
+ this.button2.Size = new System.Drawing.Size(75, 23);
+ this.button2.TabIndex = 6;
+ this.button2.Text = "Update";
+ this.button2.UseVisualStyleBackColor = true;
+ this.button2.Click += new System.EventHandler(this.button2_Click);
+ //
+ // folderBrowserDialog1
+ //
+ this.folderBrowserDialog1.Description = "Select project folder";
+ this.folderBrowserDialog1.ShowNewFolderButton = false;
+ //
+ // backgroundWorker1
+ //
+ this.backgroundWorker1.WorkerSupportsCancellation = true;
+ this.backgroundWorker1.DoWork += new System.ComponentModel.DoWorkEventHandler(this.backgroundWorker1_DoWork);
+ this.backgroundWorker1.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.backgroundWorker1_RunWorkerCompleted);
+ //
+ // panel1
+ //
+ this.panel1.Controls.Add(this.button2);
+ this.panel1.Controls.Add(this.checkedListBox1);
+ this.panel1.Controls.Add(this.button1);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Controls.Add(this.textBox2);
+ this.panel1.Controls.Add(this.textBox1);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Location = new System.Drawing.Point(16, 24);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(240, 216);
+ this.panel1.TabIndex = 7;
+ //
+ // panel2
+ //
+ this.panel2.Controls.Add(this.button3);
+ this.panel2.Controls.Add(this.groupBox1);
+ this.panel2.Location = new System.Drawing.Point(272, 24);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(256, 216);
+ this.panel2.TabIndex = 8;
+ //
+ // progressBar1
+ //
+ this.progressBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.progressBar1.Location = new System.Drawing.Point(16, 32);
+ this.progressBar1.Name = "progressBar1";
+ this.progressBar1.Size = new System.Drawing.Size(200, 23);
+ this.progressBar1.Style = System.Windows.Forms.ProgressBarStyle.Marquee;
+ this.progressBar1.TabIndex = 0;
+ //
+ // groupBox1
+ //
+ this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
+ this.groupBox1.Controls.Add(this.progressBar1);
+ this.groupBox1.Location = new System.Drawing.Point(16, 72);
+ this.groupBox1.Name = "groupBox1";
+ this.groupBox1.Size = new System.Drawing.Size(224, 72);
+ this.groupBox1.TabIndex = 1;
+ this.groupBox1.TabStop = false;
+ this.groupBox1.Text = "Loading, please wait";
+ //
+ // button3
+ //
+ this.button3.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
+ this.button3.Location = new System.Drawing.Point(91, 176);
+ this.button3.Name = "button3";
+ this.button3.Size = new System.Drawing.Size(75, 23);
+ this.button3.TabIndex = 7;
+ this.button3.Text = "Stop";
+ this.button3.UseVisualStyleBackColor = true;
+ this.button3.Click += new System.EventHandler(this.button3_Click);
+ //
+ // Form1
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(564, 272);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
+ this.Name = "Form1";
+ this.Text = "Form1";
+ this.Load += new System.EventHandler(this.Form1_Load);
+ this.panel1.ResumeLayout(false);
+ this.panel1.PerformLayout();
+ this.panel2.ResumeLayout(false);
+ this.groupBox1.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.TextBox textBox1;
+ private System.Windows.Forms.CheckedListBox checkedListBox1;
+ private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.TextBox textBox2;
+ private System.Windows.Forms.Button button1;
+ private System.Windows.Forms.Button button2;
+ private System.Windows.Forms.FolderBrowserDialog folderBrowserDialog1;
+ private System.ComponentModel.BackgroundWorker backgroundWorker1;
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.GroupBox groupBox1;
+ private System.Windows.Forms.ProgressBar progressBar1;
+ private System.Windows.Forms.Button button3;
+ }
+}
+
diff --git a/BuildTools/UpdateVersionNumber/Form1.cs b/BuildTools/UpdateVersionNumber/Form1.cs
new file mode 100644
index 000000000..6c3d5326f
--- /dev/null
+++ b/BuildTools/UpdateVersionNumber/Form1.cs
@@ -0,0 +1,194 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Text;
+using System.Windows.Forms;
+
+namespace UpdateVersionNumber
+{
+ public partial class Form1 : Form
+ {
+ private readonly System.Text.RegularExpressions.Regex RXP = new System.Text.RegularExpressions.Regex(@"\[assembly\: AssemblyVersion\(\""(?\d+\.\d+\.\d+\.\d+)\""\)\]");
+ private readonly System.Text.RegularExpressions.Regex RXP2 = new System.Text.RegularExpressions.Regex(@"\[assembly\: AssemblyFileVersion\(\""(?\d+\.\d+\.\d+\.\d+)\""\)\]");
+ private readonly System.Text.RegularExpressions.Regex RXP3 = new System.Text.RegularExpressions.Regex(@"\[assembly\: AssemblyFileVersionAttribute\(\""(?\d+\.\d+\.\d+\.\d+)\""\)\]");
+
+ private readonly System.Text.RegularExpressions.Regex RXP4 = new System.Text.RegularExpressions.Regex(@"\<\?define ProductVersion\=\""(?\d+\.\d+\.\d+\.\d+)\"" \?\>");
+
+ public Form1()
+ {
+ InitializeComponent();
+ panel1.Dock = DockStyle.Fill;
+ panel2.Dock = DockStyle.Fill;
+ }
+
+ private void textBox2_TextChanged(object sender, EventArgs e)
+ {
+ panel1.Visible = false;
+ panel2.Visible = true;
+
+ backgroundWorker1.RunWorkerAsync(textBox2.Text);
+ }
+
+ private void Form1_Load(object sender, EventArgs e)
+ {
+ textBox2.Text = Application.StartupPath;
+ }
+
+ private void button1_Click(object sender, EventArgs e)
+ {
+ if (folderBrowserDialog1.ShowDialog(this) == DialogResult.OK)
+ if (textBox2.Text == folderBrowserDialog1.SelectedPath)
+ textBox2_TextChanged(sender, e);
+ else
+ textBox2.Text = folderBrowserDialog1.SelectedPath;
+ }
+
+ private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
+ {
+ List results = new List();
+ e.Result = results;
+ Queue folders = new Queue();
+ string startfolder = e.Argument as string;
+ if (string.IsNullOrEmpty(startfolder))
+ return;
+
+ folders.Enqueue(startfolder);
+
+ while (folders.Count > 0)
+ {
+ string folder = folders.Dequeue();
+
+ foreach (string f in System.IO.Directory.GetDirectories(folder))
+ folders.Enqueue(f);
+
+ if (backgroundWorker1.CancellationPending)
+ {
+ e.Cancel = true;
+ return;
+ }
+
+ string file = System.IO.Path.Combine(folder, "AssemblyInfo.cs");
+ if (System.IO.File.Exists(file))
+ {
+ string content = System.IO.File.ReadAllText(file);
+ System.Text.RegularExpressions.Match m = RXP.Match(content);
+ if (!m.Success)
+ m = RXP2.Match(content);
+ if (!m.Success)
+ m = RXP3.Match(content);
+
+ if (m.Success)
+ {
+ string v = m.Groups["version"].Value;
+ results.Add(new DisplayItem(file, new Version(v)));
+ }
+
+ }
+
+ file = System.IO.Path.Combine(folder, "UpgradeData.wxi");
+ if (System.IO.File.Exists(file))
+ {
+ string content = System.IO.File.ReadAllText(file);
+ System.Text.RegularExpressions.Match m = RXP4.Match(content);
+
+ if (m.Success)
+ {
+ string v = m.Groups["version"].Value;
+ results.Add(new DisplayItem(file, new Version(v)));
+ }
+ }
+
+
+ }
+ }
+
+ private void backgroundWorker1_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
+ {
+ panel1.Visible =true;
+ panel2.Visible = false;
+
+ if (e.Error != null)
+ MessageBox.Show(this, "An error occured: " + e.Error.Message, Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Error);
+
+ if (e.Cancelled || e.Error != null)
+ {
+ checkedListBox1.Items.Clear();
+ button2.Enabled = false;
+ return;
+ }
+
+ button2.Enabled = true;
+ List files = (List)e.Result;
+ checkedListBox1.Items.Clear();
+ Version vmax = new Version();
+ foreach (DisplayItem d in files)
+ {
+ checkedListBox1.Items.Add(d, true);
+ vmax = d.Version > vmax ? d.Version : vmax;
+ }
+
+ textBox1.Text = vmax.ToString();
+
+ }
+
+ private void button3_Click(object sender, EventArgs e)
+ {
+ if (!backgroundWorker1.CancellationPending && backgroundWorker1.IsBusy)
+ backgroundWorker1.CancelAsync();
+ }
+
+ private void button2_Click(object sender, EventArgs e)
+ {
+ if (checkedListBox1.CheckedItems.Count == 0)
+ {
+ MessageBox.Show(this, "No files selected", Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Warning);
+ return;
+ }
+
+ Version v;
+
+ try
+ {
+ v = new Version(textBox1.Text);
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show(this, "Invalid version number: " + ex.Message, Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Error);
+ return;
+ }
+
+ string replacement = "[assembly: AssemblyVersion(\"" + v.ToString() + "\")]";
+ string replacement2 = "[assembly: AssemblyFileVersion(\"" + v.ToString() + "\")]";
+ string replacement3 = "[assembly: AssemblyFileVersionAttribute(\"" + v.ToString() + "\")]";
+ string replacement4 = "";
+ bool errors = false;
+
+ foreach (DisplayItem d in checkedListBox1.CheckedItems)
+ {
+ try
+ {
+ string content = System.IO.File.ReadAllText(d.File);
+ if (d.File.ToLower().EndsWith(".wxi"))
+ content = RXP4.Replace(content, replacement4);
+ else
+ {
+ content = RXP.Replace(content, replacement);
+ content = RXP2.Replace(content, replacement2);
+ content = RXP3.Replace(content, replacement3);
+ }
+ System.IO.File.WriteAllText(d.File, content);
+ }
+ catch (Exception ex)
+ {
+ errors = true;
+ MessageBox.Show(this, "Failed to update file: " + d.File + "\r\nError: " + ex.Message, Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Error);
+ }
+ }
+
+ if (!errors)
+ this.Close();
+ }
+ }
+}
diff --git a/BuildTools/UpdateVersionNumber/Form1.resx b/BuildTools/UpdateVersionNumber/Form1.resx
new file mode 100644
index 000000000..583cfc846
--- /dev/null
+++ b/BuildTools/UpdateVersionNumber/Form1.resx
@@ -0,0 +1,126 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 17, 17
+
+
+ 175, 17
+
+
\ No newline at end of file
diff --git a/BuildTools/UpdateVersionNumber/Program.cs b/BuildTools/UpdateVersionNumber/Program.cs
new file mode 100644
index 000000000..ad8e64594
--- /dev/null
+++ b/BuildTools/UpdateVersionNumber/Program.cs
@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+using System.Windows.Forms;
+
+namespace UpdateVersionNumber
+{
+ static class Program
+ {
+ ///
+ /// The main entry point for the application.
+ ///
+ [STAThread]
+ static void Main()
+ {
+ Application.EnableVisualStyles();
+ Application.SetCompatibleTextRenderingDefault(false);
+ Application.Run(new Form1());
+ }
+ }
+}
diff --git a/BuildTools/UpdateVersionNumber/Properties/AssemblyInfo.cs b/BuildTools/UpdateVersionNumber/Properties/AssemblyInfo.cs
new file mode 100644
index 000000000..2b61bbb7d
--- /dev/null
+++ b/BuildTools/UpdateVersionNumber/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("UpdateVersionNumber")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("HexaD")]
+[assembly: AssemblyProduct("UpdateVersionNumber")]
+[assembly: AssemblyCopyright("Copyright © HexaD 2009")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("9118bb59-ad2d-4660-81ad-cc23f12ce450")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/BuildTools/UpdateVersionNumber/Properties/Resources.Designer.cs b/BuildTools/UpdateVersionNumber/Properties/Resources.Designer.cs
new file mode 100644
index 000000000..544bd47bc
--- /dev/null
+++ b/BuildTools/UpdateVersionNumber/Properties/Resources.Designer.cs
@@ -0,0 +1,71 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:2.0.50727.3082
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace UpdateVersionNumber.Properties
+{
+
+
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resources
+ {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources()
+ {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager
+ {
+ get
+ {
+ if ((resourceMan == null))
+ {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("UpdateVersionNumber.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture
+ {
+ get
+ {
+ return resourceCulture;
+ }
+ set
+ {
+ resourceCulture = value;
+ }
+ }
+ }
+}
diff --git a/BuildTools/UpdateVersionNumber/Properties/Resources.resx b/BuildTools/UpdateVersionNumber/Properties/Resources.resx
new file mode 100644
index 000000000..ffecec851
--- /dev/null
+++ b/BuildTools/UpdateVersionNumber/Properties/Resources.resx
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/BuildTools/UpdateVersionNumber/Properties/Settings.Designer.cs b/BuildTools/UpdateVersionNumber/Properties/Settings.Designer.cs
new file mode 100644
index 000000000..2d0c073ce
--- /dev/null
+++ b/BuildTools/UpdateVersionNumber/Properties/Settings.Designer.cs
@@ -0,0 +1,30 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:2.0.50727.3082
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace UpdateVersionNumber.Properties
+{
+
+
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")]
+ internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
+ {
+
+ private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+
+ public static Settings Default
+ {
+ get
+ {
+ return defaultInstance;
+ }
+ }
+ }
+}
diff --git a/BuildTools/UpdateVersionNumber/Properties/Settings.settings b/BuildTools/UpdateVersionNumber/Properties/Settings.settings
new file mode 100644
index 000000000..abf36c5d3
--- /dev/null
+++ b/BuildTools/UpdateVersionNumber/Properties/Settings.settings
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/BuildTools/UpdateVersionNumber/UpdateVersionNumber.csproj b/BuildTools/UpdateVersionNumber/UpdateVersionNumber.csproj
new file mode 100644
index 000000000..87899c1a9
--- /dev/null
+++ b/BuildTools/UpdateVersionNumber/UpdateVersionNumber.csproj
@@ -0,0 +1,81 @@
+
+
+
+ Debug
+ AnyCPU
+ 9.0.30729
+ 2.0
+ {2CD0151C-C091-4F98-B7B7-144DF02EF2E7}
+ WinExe
+ Properties
+ UpdateVersionNumber
+ UpdateVersionNumber
+ v2.0
+ 512
+
+
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+
+
+
+
+
+
+
+
+ Form
+
+
+ Form1.cs
+
+
+
+
+ Form1.cs
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+ Designer
+
+
+ True
+ Resources.resx
+
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
+
+ True
+ Settings.settings
+ True
+
+
+
+
+
\ No newline at end of file
diff --git a/BuildTools/UpdateVersionNumber/UpdateVersionNumber.sln b/BuildTools/UpdateVersionNumber/UpdateVersionNumber.sln
new file mode 100644
index 000000000..60c2490fd
--- /dev/null
+++ b/BuildTools/UpdateVersionNumber/UpdateVersionNumber.sln
@@ -0,0 +1,20 @@
+
+Microsoft Visual Studio Solution File, Format Version 10.00
+# Visual Studio 2008
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UpdateVersionNumber", "UpdateVersionNumber.csproj", "{2CD0151C-C091-4F98-B7B7-144DF02EF2E7}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {2CD0151C-C091-4F98-B7B7-144DF02EF2E7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2CD0151C-C091-4F98-B7B7-144DF02EF2E7}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2CD0151C-C091-4F98-B7B7-144DF02EF2E7}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2CD0151C-C091-4F98-B7B7-144DF02EF2E7}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/WixProjBuilder/Program.cs b/BuildTools/WixProjBuilder/Program.cs
similarity index 100%
rename from WixProjBuilder/Program.cs
rename to BuildTools/WixProjBuilder/Program.cs
diff --git a/WixProjBuilder/Properties/AssemblyInfo.cs b/BuildTools/WixProjBuilder/Properties/AssemblyInfo.cs
similarity index 100%
rename from WixProjBuilder/Properties/AssemblyInfo.cs
rename to BuildTools/WixProjBuilder/Properties/AssemblyInfo.cs
diff --git a/WixProjBuilder/WixProjBuilder.csproj b/BuildTools/WixProjBuilder/WixProjBuilder.csproj
similarity index 100%
rename from WixProjBuilder/WixProjBuilder.csproj
rename to BuildTools/WixProjBuilder/WixProjBuilder.csproj
diff --git a/WixProjBuilder/WixProjBuilder.sln b/BuildTools/WixProjBuilder/WixProjBuilder.sln
similarity index 100%
rename from WixProjBuilder/WixProjBuilder.sln
rename to BuildTools/WixProjBuilder/WixProjBuilder.sln
diff --git a/WixProjBuilder/app.config b/BuildTools/WixProjBuilder/app.config
similarity index 100%
rename from WixProjBuilder/app.config
rename to BuildTools/WixProjBuilder/app.config
diff --git a/WixProjBuilder/license.txt b/BuildTools/WixProjBuilder/license.txt
similarity index 100%
rename from WixProjBuilder/license.txt
rename to BuildTools/WixProjBuilder/license.txt