-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Directory.Build.props
31 lines (24 loc) · 1.13 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
<Project>
<PropertyGroup>
<RepoRoot>$(MSBuildThisFileDirectory)</RepoRoot>
</PropertyGroup>
<PropertyGroup>
<LangVersion>8.0</LangVersion>
<Nullable>Enable</Nullable>
<NoWarn>CA1303;CA1812;CA1822;$(NoWarn)</NoWarn>
</PropertyGroup>
<PropertyGroup>
<!-- Always rebuild after changing this -->
<EnableAvaloniaDiagnostics>False</EnableAvaloniaDiagnostics>
</PropertyGroup>
<PropertyGroup>
<PackageVersion>0.3.0</PackageVersion>
<PackageVersionSuffix Condition="'$(APPVEYOR)' == 'True'">-build.$(APPVEYOR_BUILD_NUMBER)+$(APPVEYOR_REPO_COMMIT.Substring(0, 7))</PackageVersionSuffix>
<PackageVersionSuffix Condition="'$(PackageVersionSuffix)' == '' AND '$(DesignTimeBuild)' != 'True'">-localbuild$([System.DateTime]::Now.ToString("yyyyMMddHHmmss"))</PackageVersionSuffix>
<PackageVersionSuffix Condition="'$(APPVEYOR_REPO_TAG)' == 'True'"></PackageVersionSuffix>
</PropertyGroup>
<ItemGroup>
<Folder Include="Properties" />
</ItemGroup>
<Import Project="build\Targets\Import.props" />
</Project>