-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Directory.Build.props
44 lines (36 loc) · 1.77 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
<Project>
<PropertyGroup>
<RepoRoot>$(MSBuildThisFileDirectory)</RepoRoot>
</PropertyGroup>
<PropertyGroup>
<DebugType Condition="'$(Configuration)' == 'Debug'">Embedded</DebugType>
</PropertyGroup>
<PropertyGroup>
<LangVersion>Latest</LangVersion>
<Nullable>Enable</Nullable>
<!--
CA1062: validate arguments of public methods
justification: using nullable reference types, assume not null
CA1812: internal class that is apparently never instantiated
justification: internal view types, instantiated in the XAML files
CA2007: consider calling ConfigureAwait on the awaited task
justification: shouldn't cause problems
-->
<NoWarn>CA1062;CA1812;CA2007;$(NoWarn)</NoWarn>
<EnableNETAnalyzers>True</EnableNETAnalyzers>
</PropertyGroup>
<PropertyGroup>
<!-- Always rebuild after changing this -->
<EnableAvaloniaDiagnostics>False</EnableAvaloniaDiagnostics>
</PropertyGroup>
<PropertyGroup>
<PackageVersion>0.2.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>