diff --git a/.gitignore b/.gitignore
index 8d76898..f8dd7fe 100644
--- a/.gitignore
+++ b/.gitignore
@@ -252,3 +252,6 @@ ModelManifest.xml
# FAKE - F# Make
.fake/
GameBinaries
+
+# Generated Files
+**Gen.cs
diff --git a/Torch.API/Properties/AssemblyInfo.cs b/Torch.API/Properties/AssemblyInfo.cs
index 6a116b9..a2627e8 100644
--- a/Torch.API/Properties/AssemblyInfo.cs
+++ b/Torch.API/Properties/AssemblyInfo.cs
@@ -1,36 +1,17 @@
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("TorchAPI")]
+[assembly: AssemblyTitle("Torch API")]
[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("TorchAPI")]
-[assembly: AssemblyCopyright("Copyright © 2016")]
+[assembly: AssemblyProduct("Torch")]
+[assembly: AssemblyCopyright("Copyright © Torch API 2017")]
[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("fba5d932-6254-4a1e-baf4-e229fa94e3c2")]
-
-// 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")]
+#if DEBUG
+[assembly: AssemblyConfiguration("Debug")]
+#else
+[assembly: AssemblyConfiguration("Release")]
+#endif
\ No newline at end of file
diff --git a/Torch.Client/Properties/AssemblyInfo.tt b/Torch.API/Properties/AssemblyInfoGen.tt
similarity index 100%
rename from Torch.Client/Properties/AssemblyInfo.tt
rename to Torch.API/Properties/AssemblyInfoGen.tt
diff --git a/Torch.API/Torch.API.csproj b/Torch.API/Torch.API.csproj
index c8f60f1..f28c035 100644
--- a/Torch.API/Torch.API.csproj
+++ b/Torch.API/Torch.API.csproj
@@ -10,6 +10,8 @@
v4.6.1
512
+
+
true
@@ -36,8 +38,8 @@
..\GameBinaries\HavokWrapper.dll
False
-
- ..\packages\NLog.4.4.1\lib\net45\NLog.dll
+
+ ..\packages\NLog.4.4.12\lib\net45\NLog.dll
True
@@ -173,18 +175,26 @@
+
+ AssemblyInfoGen.tt
+ True
+ True
+
+
+
+ TextTemplatingFileGenerator
+ AssemblyInfoGen.cs
+
+
+
+
+
-
+
\ No newline at end of file
diff --git a/Torch.API/packages.config b/Torch.API/packages.config
index 1c68ff1..320a3b4 100644
--- a/Torch.API/packages.config
+++ b/Torch.API/packages.config
@@ -1,4 +1,6 @@
-
+
+
+
\ No newline at end of file
diff --git a/Torch.Client.Tests/Properties/AssemblyInfo.cs b/Torch.Client.Tests/Properties/AssemblyInfo.cs
index 137a83c..137a623 100644
--- a/Torch.Client.Tests/Properties/AssemblyInfo.cs
+++ b/Torch.Client.Tests/Properties/AssemblyInfo.cs
@@ -1,36 +1,17 @@
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("Torch.Client.Tests")]
+[assembly: AssemblyTitle("Torch Client Tests")]
[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("Torch.Client.Tests")]
-[assembly: AssemblyCopyright("Copyright © 2017")]
+[assembly: AssemblyProduct("Torch")]
+[assembly: AssemblyCopyright("Copyright © Torch API 2017")]
[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("632e78c0-0dac-4b71-b411-2f1b333cc310")]
-
-// 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")]
+#if DEBUG
+[assembly: AssemblyConfiguration("Debug")]
+#else
+[assembly: AssemblyConfiguration("Release")]
+#endif
\ No newline at end of file
diff --git a/Torch.Client.Tests/Properties/AssemblyInfoGen.tt b/Torch.Client.Tests/Properties/AssemblyInfoGen.tt
new file mode 100644
index 0000000..9937cb7
--- /dev/null
+++ b/Torch.Client.Tests/Properties/AssemblyInfoGen.tt
@@ -0,0 +1,16 @@
+<#@ template debug="false" hostspecific="false" language="C#" #>
+<#@ assembly name="System.Core" #>
+<#@ import namespace="System.Linq" #>
+<#@ import namespace="System.Text" #>
+<#@ import namespace="System.Collections.Generic" #>
+<#@ output extension=".cs" #>
+using System.Reflection;
+
+<# var dt = DateTime.Now;
+ int major = 1;
+ int minor = 0;
+ int build = dt.DayOfYear;
+ int rev = (int)dt.TimeOfDay.TotalMinutes / 2;
+#>
+[assembly: AssemblyVersion("<#= major #>.<#= minor #>.<#= build #>.<#= rev #>")]
+[assembly: AssemblyFileVersion("<#= major #>.<#= minor #>.<#= build #>.<#= rev #>")]
\ No newline at end of file
diff --git a/Torch.Client.Tests/Torch.Client.Tests.csproj b/Torch.Client.Tests/Torch.Client.Tests.csproj
index a95e05b..7387658 100644
--- a/Torch.Client.Tests/Torch.Client.Tests.csproj
+++ b/Torch.Client.Tests/Torch.Client.Tests.csproj
@@ -34,6 +34,10 @@
$(SolutionDir)\bin-test\x64\Release\Torch.Client.Tests.xml
+
+ ..\packages\NLog.4.4.12\lib\net45\NLog.dll
+ True
+
@@ -57,6 +61,11 @@
+
+ AssemblyInfoGen.tt
+ True
+ True
+
@@ -81,5 +90,15 @@
+
+
+ TextTemplatingFileGenerator
+ AssemblyInfoGen.cs
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Torch.Client.Tests/packages.config b/Torch.Client.Tests/packages.config
index 1158086..5cafc9a 100644
--- a/Torch.Client.Tests/packages.config
+++ b/Torch.Client.Tests/packages.config
@@ -1,5 +1,8 @@
+
+
+
diff --git a/Torch.Client/Properties/AssemblyInfo.cs b/Torch.Client/Properties/AssemblyInfo.cs
index be8ba40..0610f70 100644
--- a/Torch.Client/Properties/AssemblyInfo.cs
+++ b/Torch.Client/Properties/AssemblyInfo.cs
@@ -1,4 +1,17 @@
using System.Reflection;
+using System.Runtime.InteropServices;
-[assembly: AssemblyVersion("1.0.229.265")]
-[assembly: AssemblyFileVersion("1.0.229.265")]
\ No newline at end of file
+[assembly: AssemblyTitle("Torch Client")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("Torch")]
+[assembly: AssemblyCopyright("Copyright © Torch API 2017")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+[assembly: ComVisible(false)]
+
+#if DEBUG
+[assembly: AssemblyConfiguration("Debug")]
+#else
+[assembly: AssemblyConfiguration("Release")]
+#endif
\ No newline at end of file
diff --git a/Torch.Client/Properties/AssemblyInfo1.cs b/Torch.Client/Properties/AssemblyInfo1.cs
deleted file mode 100644
index 013f62e..0000000
--- a/Torch.Client/Properties/AssemblyInfo1.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-using System.Reflection;
-using System.Runtime.InteropServices;
-
-[assembly: AssemblyTitle("Torch Client")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("Torch")]
-[assembly: AssemblyCopyright("Copyright © Torch API 2017")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-[assembly: ComVisible(false)]
\ No newline at end of file
diff --git a/Torch.Client/Properties/AssemblyInfoGen.tt b/Torch.Client/Properties/AssemblyInfoGen.tt
new file mode 100644
index 0000000..9937cb7
--- /dev/null
+++ b/Torch.Client/Properties/AssemblyInfoGen.tt
@@ -0,0 +1,16 @@
+<#@ template debug="false" hostspecific="false" language="C#" #>
+<#@ assembly name="System.Core" #>
+<#@ import namespace="System.Linq" #>
+<#@ import namespace="System.Text" #>
+<#@ import namespace="System.Collections.Generic" #>
+<#@ output extension=".cs" #>
+using System.Reflection;
+
+<# var dt = DateTime.Now;
+ int major = 1;
+ int minor = 0;
+ int build = dt.DayOfYear;
+ int rev = (int)dt.TimeOfDay.TotalMinutes / 2;
+#>
+[assembly: AssemblyVersion("<#= major #>.<#= minor #>.<#= build #>.<#= rev #>")]
+[assembly: AssemblyFileVersion("<#= major #>.<#= minor #>.<#= build #>.<#= rev #>")]
\ No newline at end of file
diff --git a/Torch.Client/Torch.Client.csproj b/Torch.Client/Torch.Client.csproj
index 77e51d5..4e0a198 100644
--- a/Torch.Client/Torch.Client.csproj
+++ b/Torch.Client/Torch.Client.csproj
@@ -13,6 +13,8 @@
4
true
+
+
true
@@ -40,7 +42,7 @@
- ..\packages\NLog.4.4.1\lib\net45\NLog.dll
+ ..\packages\NLog.4.4.12\lib\net45\NLog.dll
True
@@ -116,12 +118,12 @@
-
- AssemblyInfo.tt
+
+
+ AssemblyInfoGen.tt
True
True
-
@@ -164,25 +166,19 @@
-
-
- TextTemplatingFileGenerator
- AssemblyInfo.cs
-
-
+
+
+ TextTemplatingFileGenerator
+ AssemblyInfoGen.cs
+
+
+
copy "$(SolutionDir)NLog.config" "$(TargetDir)"
-
\ No newline at end of file
diff --git a/Torch.Client/packages.config b/Torch.Client/packages.config
index 1c68ff1..320a3b4 100644
--- a/Torch.Client/packages.config
+++ b/Torch.Client/packages.config
@@ -1,4 +1,6 @@
-
+
+
+
\ No newline at end of file
diff --git a/Torch.Server.Tests/Properties/AssemblyInfo.cs b/Torch.Server.Tests/Properties/AssemblyInfo.cs
index 11ceb07..8891763 100644
--- a/Torch.Server.Tests/Properties/AssemblyInfo.cs
+++ b/Torch.Server.Tests/Properties/AssemblyInfo.cs
@@ -1,36 +1,17 @@
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("Torch.Server.Tests")]
+[assembly: AssemblyTitle("Torch Server Tests")]
[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("Torch.Server.Tests")]
-[assembly: AssemblyCopyright("Copyright © 2017")]
+[assembly: AssemblyProduct("Torch")]
+[assembly: AssemblyCopyright("Copyright © Torch API 2017")]
[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("9efd1d91-2fa2-47ed-b537-d8bc3b0e543e")]
-
-// 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")]
+#if DEBUG
+[assembly: AssemblyConfiguration("Debug")]
+#else
+[assembly: AssemblyConfiguration("Release")]
+#endif
\ No newline at end of file
diff --git a/Torch.Server/Properties/AssemblyInfo.tt b/Torch.Server.Tests/Properties/AssemblyInfoGen.tt
similarity index 100%
rename from Torch.Server/Properties/AssemblyInfo.tt
rename to Torch.Server.Tests/Properties/AssemblyInfoGen.tt
diff --git a/Torch.Server.Tests/Torch.Server.Tests.csproj b/Torch.Server.Tests/Torch.Server.Tests.csproj
index 96dac2a..e05a24c 100644
--- a/Torch.Server.Tests/Torch.Server.Tests.csproj
+++ b/Torch.Server.Tests/Torch.Server.Tests.csproj
@@ -34,6 +34,10 @@
$(SolutionDir)\bin-test\x64\Release\Torch.Server.Tests.xml
+
+ ..\packages\NLog.4.4.12\lib\net45\NLog.dll
+ True
+
@@ -57,6 +61,11 @@
+
+ AssemblyInfoGen.tt
+ True
+ True
+
@@ -81,5 +90,12 @@
+
+
+ TextTemplatingFileGenerator
+ AssemblyInfoGen.cs
+
+
+
\ No newline at end of file
diff --git a/Torch.Server.Tests/packages.config b/Torch.Server.Tests/packages.config
index 1158086..5cafc9a 100644
--- a/Torch.Server.Tests/packages.config
+++ b/Torch.Server.Tests/packages.config
@@ -1,5 +1,8 @@
+
+
+
diff --git a/Torch.Server/Properties/AssemblyInfo.cs b/Torch.Server/Properties/AssemblyInfo.cs
index 34b834d..2256788 100644
--- a/Torch.Server/Properties/AssemblyInfo.cs
+++ b/Torch.Server/Properties/AssemblyInfo.cs
@@ -1,4 +1,17 @@
using System.Reflection;
+using System.Runtime.InteropServices;
-[assembly: AssemblyVersion("1.1.229.265")]
-[assembly: AssemblyFileVersion("1.1.229.265")]
\ No newline at end of file
+[assembly: AssemblyTitle("Torch Server")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("Torch")]
+[assembly: AssemblyCopyright("Copyright © Torch API 2017")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+[assembly: ComVisible(false)]
+
+#if DEBUG
+[assembly: AssemblyConfiguration("Debug")]
+#else
+[assembly: AssemblyConfiguration("Release")]
+#endif
\ No newline at end of file
diff --git a/Torch.Server/Properties/AssemblyInfo1.cs b/Torch.Server/Properties/AssemblyInfo1.cs
deleted file mode 100644
index c1db141..0000000
--- a/Torch.Server/Properties/AssemblyInfo1.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-using System.Reflection;
-using System.Runtime.InteropServices;
-
-[assembly: AssemblyTitle("Torch Server")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("Torch")]
-[assembly: AssemblyCopyright("Copyright © Torch API 2017")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-[assembly: ComVisible(false)]
\ No newline at end of file
diff --git a/Torch.Server/Properties/AssemblyInfoGen.tt b/Torch.Server/Properties/AssemblyInfoGen.tt
new file mode 100644
index 0000000..890b974
--- /dev/null
+++ b/Torch.Server/Properties/AssemblyInfoGen.tt
@@ -0,0 +1,16 @@
+<#@ template debug="false" hostspecific="false" language="C#" #>
+<#@ assembly name="System.Core" #>
+<#@ import namespace="System.Linq" #>
+<#@ import namespace="System.Text" #>
+<#@ import namespace="System.Collections.Generic" #>
+<#@ output extension=".cs" #>
+using System.Reflection;
+
+<# var dt = DateTime.Now;
+ int major = 1;
+ int minor = 1;
+ int build = dt.DayOfYear;
+ int rev = (int)dt.TimeOfDay.TotalMinutes / 2;
+#>
+[assembly: AssemblyVersion("<#= major #>.<#= minor #>.<#= build #>.<#= rev #>")]
+[assembly: AssemblyFileVersion("<#= major #>.<#= minor #>.<#= build #>.<#= rev #>")]
\ No newline at end of file
diff --git a/Torch.Server/Torch.Server.csproj b/Torch.Server/Torch.Server.csproj
index 4d85e77..db29197 100644
--- a/Torch.Server/Torch.Server.csproj
+++ b/Torch.Server/Torch.Server.csproj
@@ -13,6 +13,8 @@
4
true
+
+
true
@@ -61,7 +63,8 @@
..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll
- ..\packages\NLog.4.4.11\lib\net45\NLog.dll
+ ..\packages\NLog.4.4.12\lib\net45\NLog.dll
+ True
False
@@ -187,12 +190,12 @@
-
+
True
True
- AssemblyInfo.tt
+ AssemblyInfoGen.tt
-
+
@@ -358,21 +361,15 @@
-
+
TextTemplatingFileGenerator
- AssemblyInfo.cs
+ AssemblyInfoGen.cs
+
copy "$(SolutionDir)NLog.config" "$(TargetDir)"
-
\ No newline at end of file
diff --git a/Torch.Server/packages.config b/Torch.Server/packages.config
index cd583f4..d15e307 100644
--- a/Torch.Server/packages.config
+++ b/Torch.Server/packages.config
@@ -1,5 +1,7 @@
+
+
-
+
\ No newline at end of file
diff --git a/Torch.Tests/Properties/AssemblyInfo.cs b/Torch.Tests/Properties/AssemblyInfo.cs
index 089d989..1551025 100644
--- a/Torch.Tests/Properties/AssemblyInfo.cs
+++ b/Torch.Tests/Properties/AssemblyInfo.cs
@@ -1,36 +1,17 @@
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("Torch.Tests")]
+[assembly: AssemblyTitle("Torch Tests")]
[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("Torch.Tests")]
-[assembly: AssemblyCopyright("Copyright © 2017")]
+[assembly: AssemblyProduct("Torch")]
+[assembly: AssemblyCopyright("Copyright © Torch API 2017")]
[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("c3c8b671-6ad1-44aa-a8da-e0c0dc0fedf5")]
-
-// 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")]
+#if DEBUG
+[assembly: AssemblyConfiguration("Debug")]
+#else
+[assembly: AssemblyConfiguration("Release")]
+#endif
\ No newline at end of file
diff --git a/Torch.Tests/Properties/AssemblyInfoGen.tt b/Torch.Tests/Properties/AssemblyInfoGen.tt
new file mode 100644
index 0000000..9937cb7
--- /dev/null
+++ b/Torch.Tests/Properties/AssemblyInfoGen.tt
@@ -0,0 +1,16 @@
+<#@ template debug="false" hostspecific="false" language="C#" #>
+<#@ assembly name="System.Core" #>
+<#@ import namespace="System.Linq" #>
+<#@ import namespace="System.Text" #>
+<#@ import namespace="System.Collections.Generic" #>
+<#@ output extension=".cs" #>
+using System.Reflection;
+
+<# var dt = DateTime.Now;
+ int major = 1;
+ int minor = 0;
+ int build = dt.DayOfYear;
+ int rev = (int)dt.TimeOfDay.TotalMinutes / 2;
+#>
+[assembly: AssemblyVersion("<#= major #>.<#= minor #>.<#= build #>.<#= rev #>")]
+[assembly: AssemblyFileVersion("<#= major #>.<#= minor #>.<#= build #>.<#= rev #>")]
\ No newline at end of file
diff --git a/Torch.Tests/Torch.Tests.csproj b/Torch.Tests/Torch.Tests.csproj
index 20ab0ad..4b7cd19 100644
--- a/Torch.Tests/Torch.Tests.csproj
+++ b/Torch.Tests/Torch.Tests.csproj
@@ -34,6 +34,10 @@
$(SolutionDir)\bin-test\x64\Release\Torch.Tests.xml
+
+ ..\packages\NLog.4.4.12\lib\net45\NLog.dll
+ True
+
@@ -56,9 +60,14 @@
+
+
+ AssemblyInfoGen.tt
+ True
+ True
+
-
@@ -76,5 +85,15 @@
+
+
+ TextTemplatingFileGenerator
+ AssemblyInfoGen.cs
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Torch.Tests/packages.config b/Torch.Tests/packages.config
index 1158086..5cafc9a 100644
--- a/Torch.Tests/packages.config
+++ b/Torch.Tests/packages.config
@@ -1,5 +1,8 @@
+
+
+
diff --git a/Torch/Properties/AssemblyInfo.cs b/Torch/Properties/AssemblyInfo.cs
index 465d2d9..21a30ba 100644
--- a/Torch/Properties/AssemblyInfo.cs
+++ b/Torch/Properties/AssemblyInfo.cs
@@ -1,36 +1,17 @@
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("Piston")]
+[assembly: AssemblyTitle("Torch")]
[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("Piston")]
-[assembly: AssemblyCopyright("Copyright © 2016")]
+[assembly: AssemblyProduct("Torch")]
+[assembly: AssemblyCopyright("Copyright © Torch API 2017")]
[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("7e01635c-3b67-472e-bcd6-c5539564f214")]
-
-// 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")]
+#if DEBUG
+[assembly: AssemblyConfiguration("Debug")]
+#else
+[assembly: AssemblyConfiguration("Release")]
+#endif
\ No newline at end of file
diff --git a/Torch/Properties/AssemblyInfoGen.tt b/Torch/Properties/AssemblyInfoGen.tt
new file mode 100644
index 0000000..9937cb7
--- /dev/null
+++ b/Torch/Properties/AssemblyInfoGen.tt
@@ -0,0 +1,16 @@
+<#@ template debug="false" hostspecific="false" language="C#" #>
+<#@ assembly name="System.Core" #>
+<#@ import namespace="System.Linq" #>
+<#@ import namespace="System.Text" #>
+<#@ import namespace="System.Collections.Generic" #>
+<#@ output extension=".cs" #>
+using System.Reflection;
+
+<# var dt = DateTime.Now;
+ int major = 1;
+ int minor = 0;
+ int build = dt.DayOfYear;
+ int rev = (int)dt.TimeOfDay.TotalMinutes / 2;
+#>
+[assembly: AssemblyVersion("<#= major #>.<#= minor #>.<#= build #>.<#= rev #>")]
+[assembly: AssemblyFileVersion("<#= major #>.<#= minor #>.<#= build #>.<#= rev #>")]
\ No newline at end of file
diff --git a/Torch/Torch.csproj b/Torch/Torch.csproj
index 92974e5..f170b27 100644
--- a/Torch/Torch.csproj
+++ b/Torch/Torch.csproj
@@ -10,6 +10,8 @@
v4.6.1
512
+
+
true
@@ -41,7 +43,7 @@
..\GameBinaries\Newtonsoft.Json.dll
- ..\packages\NLog.4.4.1\lib\net45\NLog.dll
+ ..\packages\NLog.4.4.12\lib\net45\NLog.dll
True
@@ -151,6 +153,12 @@
+
+
+ AssemblyInfoGen.tt
+ True
+ True
+
@@ -191,7 +199,6 @@
-
CollectionEditor.xaml
@@ -213,12 +220,15 @@
Designer
+
+
+ TextTemplatingFileGenerator
+ AssemblyInfoGen.cs
+
+
+
+
+
-
+
\ No newline at end of file
diff --git a/Torch/packages.config b/Torch/packages.config
index 18ffc48..a8f18d5 100644
--- a/Torch/packages.config
+++ b/Torch/packages.config
@@ -1,5 +1,7 @@
-
+
+
+
\ No newline at end of file
diff --git a/TransformOnBuild.targets b/TransformOnBuild.targets
new file mode 100644
index 0000000..ee34371
--- /dev/null
+++ b/TransformOnBuild.targets
@@ -0,0 +1,13 @@
+
+
+
+ $(SolutionDir)\packages\Mono.TextTransform.1.0.0\tools
+
+
+
+
+ This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
+
+
+
+
\ No newline at end of file