This commit is contained in:
FH 2022-04-19 18:27:44 +02:00
parent b208ae2a99
commit 80f6a35d02
4 changed files with 30 additions and 66 deletions

View file

@ -56,15 +56,11 @@
<Compile Include="IRepository.cs" /> <Compile Include="IRepository.cs" />
<Compile Include="IAsyncReadonlyRepo.cs" /> <Compile Include="IAsyncReadonlyRepo.cs" />
<Compile Include="IRepositoryEx.cs" /> <Compile Include="IRepositoryEx.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="VatFormatValidator.cs" /> <Compile Include="VatFormatValidator.cs" />
<Compile Include="Mogrifiers.cs" /> <Compile Include="Mogrifiers.cs" />
<Compile Include="QueryHelper.cs" /> <Compile Include="QueryHelper.cs" />
<Compile Include="StringOptions.cs" /> <Compile Include="StringOptions.cs" />
<Compile Include="Properties\AssemblyInfo.cs">
<DependentUpon>AssemblyInfo.tt</DependentUpon>
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
</Compile>
<Compile Include="Squid.cs" /> <Compile Include="Squid.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
@ -73,16 +69,14 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Content Include=".gitignore" /> <Content Include=".gitignore" />
<Content Include="Properties\AssemblyInfo.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>AssemblyInfo.cs</LastGenOutput>
</Content>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" /> <Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
</ItemGroup> </ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup> <PropertyGroup>
<PreBuildEvent>"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\TextTransform.exe" -out "$(ProjectDir)Properties\AssemblyInfo.cs" "$(ProjectDir)Properties\AssemblyInfo.tt"</PreBuildEvent> <PreBuildEvent>
</PreBuildEvent>
</PropertyGroup> </PropertyGroup>
</Project> </Project>

View file

@ -1,20 +1,32 @@
// This code was generated by a tool. Any changes made manually will be lost using System.Reflection;
// the next time this code is regenerated.
using System.Reflection;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
[assembly: AssemblyTitle("FCSInno")] // General Information about an assembly is controlled through the following
[assembly: AssemblyDescription("FCSInno")] // 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: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Frede Hundewadt")] [assembly: AssemblyCompany("FCS")]
[assembly: AssemblyProduct("FCSInno")] [assembly: AssemblyProduct("FCS.Lib.Utility.Properties")]
[assembly: AssemblyCopyright("Copyright © FCS 2015-2022")] [assembly: AssemblyCopyright("Copyright © 2022")]
[assembly: AssemblyTrademark("FCS © Innotec Danmark A/S")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [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: ComVisible(false)]
[assembly: Guid("aaf08873-14e5-411d-8ec8-629782ac8f03")]
[assembly: AssemblyVersion("2.1.22098.1531")] // The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: AssemblyFileVersion("2.1.22098.1531")] [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")]

View file

@ -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 #>")]

View file

@ -1,5 +1,4 @@
using System; using System.Linq;
using System.Linq;
namespace FCS.Lib.Utility namespace FCS.Lib.Utility
{ {