-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Directory.Build.props
40 lines (33 loc) · 1.67 KB
/
Directory.Build.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<Project>
<PropertyGroup>
<VersionMajor Condition="'$(VersionMajor)' == ''">1</VersionMajor>
<VersionMinor Condition="'$(VersionMinor)' == ''">0</VersionMinor>
<VersionPatch Condition="'$(VersionPatch)' == ''">0</VersionPatch>
<BuildNumber Condition="'$(BuildNumber)' == ''">100</BuildNumber>
<VersionSuffix Condition="'$(Configuration)' == 'Debug' and '$(VersionSuffix)' == ''">dev</VersionSuffix>
<Authors>gfoidl</Authors>
<Company>Foidl Günther</Company>
<Product>Base64</Product>
<Copyright>Copyright © Foidl Günther 2018-2022</Copyright>
<VersionPrefix>$(VersionMajor).$(VersionMinor).$(VersionPatch)</VersionPrefix>
<AssemblyVersion>$(VersionMajor).$(VersionMinor).$(BuildNumber).$(VersionPatch)</AssemblyVersion>
</PropertyGroup>
<PropertyGroup>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)gfoidl.Base64.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<PropertyGroup>
<LangVersion>preview</LangVersion>
<StandardTfms>net7.0</StandardTfms>
</PropertyGroup>
<PropertyGroup>
<PackageOutputPath>$(MSBuildThisFileDirectory)NuGet-Packed</PackageOutputPath>
</PropertyGroup>
<Target Name="VersionInfo" BeforeTargets="BeforeBuild">
<Message Importance="high" Text="$(MSBuildProjectName) BuildNumber: $(BuildNumber) --> Version: $(Version), AssemblyVersion: $(AssemblyVersion)" />
<Message Importance="high" Text=" " Condition="'$(Configuration)' == 'Debug'" />
</Target>
</Project>