-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
41 lines (35 loc) · 1.78 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
<Project>
<PropertyGroup Label="Version">
<VersionPrefix Condition=" '$(VersionPrefix)' == '' ">3.2.0</VersionPrefix>
<VersionSuffix Condition=" '$(VersionSuffix)' == '' "></VersionSuffix>
</PropertyGroup>
<PropertyGroup Label="General Properties">
<Nullable>enable</Nullable>
<LangVersion>13.0</LangVersion>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<GeneratePackageOnBuild Condition=" '$(GeneratePackageOnBuild)' == '' and '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild>
<PackageOutputPath>$(MSBuildThisFileDirectory)artifacts/</PackageOutputPath>
<!--
Enable the compiler strict mode (see https://www.meziantou.net/csharp-compiler-strict-mode.htm).
This (poorly documented) mode enables additional warnings for incorrect usages of some features.
For instance, this will warn when using the == operator to compare a struct with a null literal.
-->
<Features>strict</Features>
</PropertyGroup>
<PropertyGroup Label="Package Metadata">
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageProjectUrl>https://github.com/6bee/aqua-tools</PackageProjectUrl>
<RepositoryUrl>https://github.com/6bee/aqua-tools.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageIcon>aqua-small.png</PackageIcon>
<DevelopmentDependency>true</DevelopmentDependency>
<Authors>Christof Senn</Authors>
</PropertyGroup>
<ItemGroup Label="Common Package References">
<PackageReference Include="PolySharp" Version="1.15.0" Pack="false" />
</ItemGroup>
<ItemGroup Label="Common Package Files">
<None Include="$(MSBuildThisFileDirectory)aqua-small.png" PackagePath="\" Pack="true" />
</ItemGroup>
</Project>