-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Directory.Build.props
42 lines (34 loc) · 1.54 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
<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.1</PackageVersion>
<PackageVersionSuffix Condition="'$(CI)' != 'True' AND '$(PackageVersionSuffix)' == '' AND '$(DesignTimeBuild)' != 'True'">-localbuild$([System.DateTime]::Now.ToString("yyyyMMddHHmmss"))</PackageVersionSuffix>
</PropertyGroup>
<ItemGroup>
<Folder Include="Properties" />
</ItemGroup>
<Import Project="build\Targets\Import.props" />
</Project>