-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDirectory.Build.props
36 lines (33 loc) · 1.27 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
<Project>
<PropertyGroup>
<Company>Astrolo</Company>
<Product>Astrolo</Product>
<Authors>Tony Titsas</Authors>
<RepositoryUrl>https://github.com/schokee/Astrolo</RepositoryUrl>
<PackageProjectUrl>https://github.com/schokee/Astrolo</PackageProjectUrl>
<Copyright>Copyright © $([System.DateTime]::Now.Year) $(Company)</Copyright>
<TargetFramework>net48</TargetFramework>
<LangVersion>latest</LangVersion>
<NoWarn>1701;1702;NU1702</NoWarn>
<EnableWindowsTargeting>true</EnableWindowsTargeting>
<PackageOutputPath Condition="'$(PackageOutputPath)' == ''">$(MSBuildThisFileDirectory)bin</PackageOutputPath>
<PackageIcon>YinYang.png</PackageIcon>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<PackOnBuild>true</PackOnBuild>
<EnablePackageValidation>true</EnablePackageValidation>
</PropertyGroup>
<Choose>
<When Condition="$(MSBuildProjectName.EndsWith('Tests'))">
<PropertyGroup>
<IsPackable>false</IsPackable>
</PropertyGroup>
</When>
<Otherwise>
<ItemGroup>
<None Include="..\YinYang.png" Pack="true" PackagePath="\"/>
<PackageReference Include="GitVersion.MsBuild" PrivateAssets="All" />
</ItemGroup>
</Otherwise>
</Choose>
</Project>