-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Directory.Build.props
49 lines (43 loc) · 2.29 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
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<AnalysisMode>All</AnalysisMode>
<Authors>Amadeusz Sadowski</Authors>
<Company>WarHub</Company>
<Copyright>Copyright © Amadeusz Sadowski</Copyright>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageProjectUrl>https://github.com/WarHub/wham</PackageProjectUrl>
<PackageReleaseNotes>https://github.com/WarHub/wham/blob/main/CHANGELOG.md</PackageReleaseNotes>
<PackageIconPath>$(MSBuildThisFileDirectory)docs/images/WarHub-logo.png</PackageIconPath>
<PackageIcon>icon.png</PackageIcon>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<MainTargetFramework>net8.0</MainTargetFramework>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<ContinuousIntegrationBuild Condition=" '$(ContinuousIntegrationBuild)' == '' and '$(CI)' == 'true' ">true</ContinuousIntegrationBuild>
<UseArtifactsOutput>true</UseArtifactsOutput>
</PropertyGroup>
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<IsTestingOnlyProject>$(MSBuildProjectName.Contains('Test'))</IsTestingOnlyProject>
<NoWarn>$(NoWarn);CS1591;NU5105</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<MSBuildTreatWarningsAsErrors>true</MSBuildTreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition=" $(IsTestingOnlyProject) ">
<IsPackable>false</IsPackable>
<EnableSourceLink>false</EnableSourceLink>
</PropertyGroup>
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)README.md" Pack="true" PackagePath="" Visible="false" />
<None Include="$(MSBuildThisFileDirectory)LICENSE.md" Pack="true" PackagePath="" Visible="false" />
<None Include="$(PackageIconPath)" Pack="true" PackagePath="$(PackageIcon)" Visible="false" />
</ItemGroup>
</Project>