diff --git a/.gitignore b/.gitignore index e800131..f86605c 100644 --- a/.gitignore +++ b/.gitignore @@ -79,3 +79,8 @@ C2P/bin/C2P.dll C2P_Project/C2P_Project.dbmdl /C2P_Project/C2P_Project.dbmdl +############################################# +# Area VersGen +############################################# +/VersGen/obj/* +/VersGen/bin/* diff --git a/C2P.sln b/C2P.sln index 875d198..a1f5931 100644 --- a/C2P.sln +++ b/C2P.sln @@ -16,6 +16,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SteamWare", "..\SteamWareLi EndProject Project("{00D1A9C2-B5F0-4AF3-8072-F6C62B433612}") = "C2P_DB", "C2P_Project\C2P_DB.sqlproj", "{84DB66E4-9663-47F7-9DD1-3CB562629FF5}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VersGen", "VersGen\VersGen.csproj", "{4F4FFE7B-6DE9-4F60-BA1A-A5CBF996A29C}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -50,6 +52,12 @@ Global {84DB66E4-9663-47F7-9DD1-3CB562629FF5}.WinLab|Any CPU.ActiveCfg = Release|Any CPU {84DB66E4-9663-47F7-9DD1-3CB562629FF5}.WinLab|Any CPU.Build.0 = Release|Any CPU {84DB66E4-9663-47F7-9DD1-3CB562629FF5}.WinLab|Any CPU.Deploy.0 = Release|Any CPU + {4F4FFE7B-6DE9-4F60-BA1A-A5CBF996A29C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4F4FFE7B-6DE9-4F60-BA1A-A5CBF996A29C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4F4FFE7B-6DE9-4F60-BA1A-A5CBF996A29C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4F4FFE7B-6DE9-4F60-BA1A-A5CBF996A29C}.Release|Any CPU.Build.0 = Release|Any CPU + {4F4FFE7B-6DE9-4F60-BA1A-A5CBF996A29C}.WinLab|Any CPU.ActiveCfg = Release|Any CPU + {4F4FFE7B-6DE9-4F60-BA1A-A5CBF996A29C}.WinLab|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/C2P/C2P.csproj b/C2P/C2P.csproj index a1a91a6..166b62a 100644 --- a/C2P/C2P.csproj +++ b/C2P/C2P.csproj @@ -363,6 +363,9 @@ + + C2P.cs + diff --git a/C2P/Properties/AssemblyInfo.cs b/C2P/Properties/AssemblyInfo.cs index 106435d..8ec20ba 100644 --- a/C2P/Properties/AssemblyInfo.cs +++ b/C2P/Properties/AssemblyInfo.cs @@ -8,9 +8,9 @@ using System.Runtime.InteropServices; [assembly: AssemblyTitle("C2P")] [assembly: AssemblyDescription("Cost 2 Price")] [assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Steamware")] +//[assembly: AssemblyCompany("Steamware")] [assembly: AssemblyProduct("C2P")] -[assembly: AssemblyCopyright("Copyright © 2014")] +//[assembly: AssemblyCopyright("Copyright © 2014")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -31,5 +31,5 @@ using System.Runtime.InteropServices; // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("0.6.42.0")] -[assembly: AssemblyFileVersion("0.6.42.0")] +//[assembly: AssemblyVersion("0.6.42.0")] +//[assembly: AssemblyFileVersion("0.6.42.0")] diff --git a/C2P/bin/C2P.dll b/C2P/bin/C2P.dll index 3b3ba14..4b95231 100644 Binary files a/C2P/bin/C2P.dll and b/C2P/bin/C2P.dll differ diff --git a/C2P/bin/C2P_Data.dll b/C2P/bin/C2P_Data.dll index 1745f02..012bba0 100644 Binary files a/C2P/bin/C2P_Data.dll and b/C2P/bin/C2P_Data.dll differ diff --git a/C2P/bin/C2P_Data.pdb b/C2P/bin/C2P_Data.pdb index 1e55a11..e0fd9e1 100644 Binary files a/C2P/bin/C2P_Data.pdb and b/C2P/bin/C2P_Data.pdb differ diff --git a/C2P/bin/SteamWare.dll b/C2P/bin/SteamWare.dll index 2d558bd..be70c64 100644 Binary files a/C2P/bin/SteamWare.dll and b/C2P/bin/SteamWare.dll differ diff --git a/VersGen/C2P.cs b/VersGen/C2P.cs new file mode 100644 index 0000000..317dcc4 --- /dev/null +++ b/VersGen/C2P.cs @@ -0,0 +1,11 @@ +// +// This code was generated by a tool. Any changes made manually will be lost +// the next time this code is regenerated. +// + +using System.Reflection; + +[assembly: AssemblyVersion("0.6.43.135")] +[assembly: AssemblyFileVersion("0.6.43.135")] +[assembly: AssemblyCopyright("Proxima & Steamware © 2013-2014")] +[assembly: AssemblyCompany("Steamware")] diff --git a/VersGen/C2P.tt b/VersGen/C2P.tt new file mode 100644 index 0000000..302871f --- /dev/null +++ b/VersGen/C2P.tt @@ -0,0 +1,19 @@ +<#@ template language="C#" #> +// +// This code was generated by a tool. Any changes made manually will be lost +// the next time this code is regenerated. +// + +using System.Reflection; + +[assembly: AssemblyVersion("0.6.43.<#= this.RevisionNumber #>")] +[assembly: AssemblyFileVersion("0.6.43.<#= this.RevisionNumber #>")] +[assembly: AssemblyCopyright("Proxima & Steamware © 2013-<#= DateTime.Now.Year #>")] +[assembly: AssemblyCompany("Steamware")] +<#+ +// int Major = 2; +// int Minor = 4; +// int Build = 602; +// int RevisionNumber = (int)(DateTime.Now - DateTime.Today).TotalSeconds; + int RevisionNumber = (int)(DateTime.UtcNow - new DateTime(2013,12,1)).TotalDays; +#> \ No newline at end of file diff --git a/VersGen/Properties/AssemblyInfo.cs b/VersGen/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..aeaae3f --- /dev/null +++ b/VersGen/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("VersGen")] +[assembly: AssemblyDescription("Generatore versioni progetto")] +[assembly: AssemblyConfiguration("")] +//[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("VersGen")] +//[assembly: AssemblyCopyright("Copyright © 2014")] +[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("f9f52dc7-5f51-439a-9e36-64e93b31987a")] + +// 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/VersGen/VersGen.csproj b/VersGen/VersGen.csproj new file mode 100644 index 0000000..1bb9abc --- /dev/null +++ b/VersGen/VersGen.csproj @@ -0,0 +1,66 @@ + + + + + Debug + AnyCPU + {4F4FFE7B-6DE9-4F60-BA1A-A5CBF996A29C} + Library + Properties + VersGen + VersGen + v4.5 + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + True + True + C2P.tt + + + + + + TextTemplatingFileGenerator + C2P.cs + + + + + + + + \ No newline at end of file