-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.Build.props
71 lines (60 loc) · 3.38 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--General properties-->
<PropertyGroup>
<LangVersion>preview</LangVersion>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<DebugSymbols>True</DebugSymbols>
<DebugType>portable</DebugType>
</PropertyGroup>
<!--Version properties-->
<PropertyGroup>
<BuildNumber Condition="'$(BuildNumber)' == ''">0</BuildNumber>
<BuildBranch Condition="'$(BuildBranch)' == ''">master</BuildBranch>
<VersionMajor Condition="'$(VersionMajor)' == ''">0</VersionMajor>
<VersionMinor Condition="'$(VersionMinor)' == ''">1</VersionMinor>
<VersionPatch Condition="'$(VersionPatch)' == ''">0</VersionPatch>
<!--suppress CheckTagEmptyBody -->
<VersionPrerelease Condition="'$(VersionPrerelease)' == ''"></VersionPrerelease>
<VersionSuffix Condition="'$(VersionSuffix)' == ''">$(BuildBranch).$(BuildNumber)</VersionSuffix>
<VersionPrefix>$(VersionMajor).$(VersionMinor).$(VersionPatch)</VersionPrefix>
<AssemblyVersion>$(VersionMajor).$(VersionMinor).$(VersionPatch).0</AssemblyVersion>
<FileVersion Condition="'$(Configuration)'=='Debug'">
$(VersionMajor).$(VersionMinor).$(VersionPatch).$(BuildNumber)</FileVersion>
<FileVersion Condition="'$(Configuration)'=='Release'">
$(VersionMajor).$(VersionMinor).$(VersionPatch)</FileVersion>
<InformationalVersion Condition="'$(Configuration)'=='Debug'">
$(VersionMajor).$(VersionMinor).$(VersionPatch)-$(VersionSuffix)</InformationalVersion>
<InformationalVersion Condition="'$(Configuration)'=='Release'">
$(VersionMajor).$(VersionMinor).$(VersionPatch)</InformationalVersion>
</PropertyGroup>
<!--Package properties-->
<PropertyGroup>
<Product>depler</Product>
<Copyright>Copyright (c) $([System.DateTime]::Now.Year) Todor Todorov</Copyright>
<Authors>Todor Todorov (a.k.a. totollygeek)</Authors>
<NeutralLanguage>en-US</NeutralLanguage>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://depler.io</PackageProjectUrl>
<Description>DEPendency crawLER for managing your packages</Description>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<!--<PackageIcon>icon.png</PackageIcon>-->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<PackageVersion Condition="'$(VersionPrerelease)' == ''">
$(VersionMajor).$(VersionMinor).$(VersionPatch)</PackageVersion>
<PackageVersion Condition="'$(VersionPrerelease)' != ''">
$(VersionMajor).$(VersionMinor).$(VersionPatch)-$(VersionPrerelease)</PackageVersion>
</PropertyGroup>
<!--Tests properties-->
<PropertyGroup Condition="$(MSBuildProjectName.EndsWith('tests'))">
<IsPackable>False</IsPackable>
</PropertyGroup>
<!--Error and warning properties-->
<PropertyGroup>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<!--<DisableImplicitPackageTargetFallback>True</DisableImplicitPackageTargetFallback>-->
<!--Do not show warnings for not a valid semantic version-->
<NoWarn>$(NoWarn);CS7035</NoWarn>
</PropertyGroup>
</Project>