diff --git a/FCS.Lib.Utility.csproj b/FCS.Lib.Utility.csproj index 69fde39..d87c582 100644 --- a/FCS.Lib.Utility.csproj +++ b/FCS.Lib.Utility.csproj @@ -56,15 +56,11 @@ + - - AssemblyInfo.tt - True - True - @@ -73,16 +69,14 @@ - - TextTemplatingFileGenerator - AssemblyInfo.cs - + - "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\TextTransform.exe" -out "$(ProjectDir)Properties\AssemblyInfo.cs" "$(ProjectDir)Properties\AssemblyInfo.tt" + + \ No newline at end of file diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index 41a5706..7ae52f3 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -1,20 +1,32 @@ -// This code was generated by a tool. Any changes made manually will be lost -// the next time this code is regenerated. - -using System.Reflection; +using System.Reflection; using System.Runtime.InteropServices; -[assembly: AssemblyTitle("FCSInno")] -[assembly: AssemblyDescription("FCSInno")] +// 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("FCS.Lib.Utility")] +[assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Frede Hundewadt")] -[assembly: AssemblyProduct("FCSInno")] -[assembly: AssemblyCopyright("Copyright © FCS 2015-2022")] -[assembly: AssemblyTrademark("FCS © Innotec Danmark A/S")] +[assembly: AssemblyCompany("FCS")] +[assembly: AssemblyProduct("FCS.Lib.Utility.Properties")] +[assembly: AssemblyCopyright("Copyright © 2022")] +[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)] -[assembly: Guid("aaf08873-14e5-411d-8ec8-629782ac8f03")] -[assembly: AssemblyVersion("2.1.22098.1531")] -[assembly: AssemblyFileVersion("2.1.22098.1531")] \ No newline at end of file +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("62c6650e-4bca-4fb5-87bf-219433459e9e")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.100")] diff --git a/Properties/AssemblyInfo.tt b/Properties/AssemblyInfo.tt deleted file mode 100644 index e764913..0000000 --- a/Properties/AssemblyInfo.tt +++ /dev/null @@ -1,41 +0,0 @@ -<#@ template debug="true" hostspecific="false" language="C#" #> -<#@ output extension=".cs" #> -<# - int major = 2; - int minor = 1; // Official == even, Preview == odd - int build = 1; - int revision = 0; - - 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); - } - #> -// This code was generated by a tool. Any changes made manually will be lost -// the next time this code is regenerated. - -using System.Reflection; -using System.Runtime.InteropServices; - -[assembly: AssemblyTitle("FCSInno")] -[assembly: AssemblyDescription("FCSInno")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Frede Hundewadt")] -[assembly: AssemblyProduct("FCSInno")] -[assembly: AssemblyCopyright("Copyright © FCS 2015-2022")] -[assembly: AssemblyTrademark("FCS © Innotec Danmark A/S")] -[assembly: AssemblyCulture("")] - -[assembly: ComVisible(false)] -[assembly: Guid("aaf08873-14e5-411d-8ec8-629782ac8f03")] - -[assembly: AssemblyVersion("<#= version #>")] -[assembly: AssemblyFileVersion("<#= version #>")] \ No newline at end of file diff --git a/VatFormatValidator.cs b/VatFormatValidator.cs index b86ed5f..5e63499 100644 --- a/VatFormatValidator.cs +++ b/VatFormatValidator.cs @@ -1,5 +1,4 @@ -using System; -using System.Linq; +using System.Linq; namespace FCS.Lib.Utility {