-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.Build.props
36 lines (31 loc) · 1.27 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
<Project>
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<LangVersion>8.0</LangVersion>
<Nullable>enable</Nullable>
<NullableContextOptions>enable</NullableContextOptions>
<Prefer32Bit>false</Prefer32Bit>
<WarningLevel>4</WarningLevel>
<ErrorReport>prompt</ErrorReport>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<NoWarn>CS1573</NoWarn>
<!-- Without pdbonly, netstandard assemblies are not debuggable -->
<!-- It seems that we have a problem similar to https://github.com/dotnet/sdk/issues/955 -->
<DebugType>pdbonly</DebugType>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="StyleCop.Analyzers" Version="1.1.0-beta009">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="AsyncUsageAnalyzers" Version="1.0.0-alpha003">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="SwitchAnalyzer" Version="0.6.8">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
<PropertyGroup>
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)icfpc2019.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
</Project>