From 144e38ac52133fca954bbfd987f8a909e1f97ae4 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Sat, 29 Feb 2020 12:09:57 +0100 Subject: [PATCH] =?UTF-8?q?Aggiunta=20=C3=A8rogetto=20x=20version=20number?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LPA/Properties/AssemblyInfo.cs | 8 +-- VersGen/App.config | 6 ++ VersGen/Properties/AssemblyInfo.cs | 32 ++++++++++ VersGen/VersGen.cs | 9 +++ VersGen/VersGen.csproj | 95 ++++++++++++++++++++++++++++++ VersGen/VersGen.tt | 10 ++++ 6 files changed, 156 insertions(+), 4 deletions(-) create mode 100644 VersGen/App.config create mode 100644 VersGen/Properties/AssemblyInfo.cs create mode 100644 VersGen/VersGen.cs create mode 100644 VersGen/VersGen.csproj create mode 100644 VersGen/VersGen.tt diff --git a/LPA/Properties/AssemblyInfo.cs b/LPA/Properties/AssemblyInfo.cs index 35b4790..cedd563 100644 --- a/LPA/Properties/AssemblyInfo.cs +++ b/LPA/Properties/AssemblyInfo.cs @@ -8,9 +8,9 @@ using System.Runtime.InteropServices; [assembly: AssemblyTitle("LPA")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] +//[assembly: AssemblyCompany("")] [assembly: AssemblyProduct("LPA")] -[assembly: AssemblyCopyright("Copyright © 2020")] +//[assembly: AssemblyCopyright("Copyright © 2020")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // È possibile specificare tutti i valori oppure impostare valori predefiniti per i numeri relativi alla revisione e alla build // usando l'asterisco '*' come illustrato di seguito: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +//[assembly: AssemblyVersion("1.0.0.0")] +//[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/VersGen/App.config b/VersGen/App.config new file mode 100644 index 0000000..87b8caf --- /dev/null +++ b/VersGen/App.config @@ -0,0 +1,6 @@ + + + + + + diff --git a/VersGen/Properties/AssemblyInfo.cs b/VersGen/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..15292d5 --- /dev/null +++ b/VersGen/Properties/AssemblyInfo.cs @@ -0,0 +1,32 @@ +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("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyProduct("VersGen")] +[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("58e399f3-9d4e-49d3-ab35-9ed536543d50")] + +// 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.*")] diff --git a/VersGen/VersGen.cs b/VersGen/VersGen.cs new file mode 100644 index 0000000..747e542 --- /dev/null +++ b/VersGen/VersGen.cs @@ -0,0 +1,9 @@ +// +// 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("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: AssemblyCopyright("Steamware © 2006-2020")] +[assembly: AssemblyCompany("Steamware")] \ No newline at end of file diff --git a/VersGen/VersGen.csproj b/VersGen/VersGen.csproj new file mode 100644 index 0000000..cc9b000 --- /dev/null +++ b/VersGen/VersGen.csproj @@ -0,0 +1,95 @@ + + + + + Debug + AnyCPU + {58E399F3-9D4E-49D3-AB35-9ED536543D50} + Library + Properties + VersGen + VersGen + v4.0 + 512 + true + Client + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + true + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + true + bin\x86\Debug\ + DEBUG;TRACE + full + x86 + prompt + MinimumRecommendedRules.ruleset + + + bin\x86\Release\ + TRACE + true + pdbonly + x86 + prompt + MinimumRecommendedRules.ruleset + + + + + + + + + + + + + True + True + VersGen.tt + + + + + + + + + TextTemplatingFileGenerator + VersGen.cs + + + + + + + + \ No newline at end of file diff --git a/VersGen/VersGen.tt b/VersGen/VersGen.tt new file mode 100644 index 0000000..d5ad750 --- /dev/null +++ b/VersGen/VersGen.tt @@ -0,0 +1,10 @@ +<#@ template language="C#" hostspecific="True" #> +// +// 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("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: AssemblyCopyright("Steamware © 2006-<#= DateTime.Now.Year #>")] +[assembly: AssemblyCompany("Steamware")] \ No newline at end of file