forked from BSData/phalanx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
39 lines (35 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
<Project>
<PropertyGroup>
<LangVersion>11</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<Authors>Amadeusz Sadowski and contributors</Authors>
<Company>BSData</Company>
<Copyright>Copyright © $(Authors)</Copyright>
<IsPackable>false</IsPackable>
<CommonTargetFramework>net7.0</CommonTargetFramework>
<VersionPrefix>1.1.0</VersionPrefix>
<EnforceCodeStyleOnBuild>true</EnforceCodeStyleOnBuild>
<AnalysisMode>Recommended</AnalysisMode>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<!-- Uncomment for debugging blazor/razor generated sources -->
<!-- <EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles> -->
</PropertyGroup>
<PropertyGroup>
<!-- Disabled path fiddling to enable using Blazor in VSCode -->
<!-- Put stuff into a common directory ./.build (bin,obj) -->
<!-- <BaseOutputPath>$(MSBuildThisFileDirectory).build/bin/$(MSBuildProjectName)/</BaseOutputPath> -->
<!-- <BaseIntermediateOutputPath>$(MSBuildThisFileDirectory).build/obj/$(MSBuildProjectName)/</BaseIntermediateOutputPath> -->
<!-- Due to https://github.com/dotnet/aspnetcore/issues/25959 we need it relative -->
<!-- <BaseIntermediateOutputPath>$([MSBuild]::MakeRelative($(MSBuildProjectDirectory), $(BaseIntermediateOutputPath)))</BaseIntermediateOutputPath> -->
<!-- Don't warn on API docs -->
<NoWarn>$(NoWarn);CS1591</NoWarn>
<!-- Don't warn on Type can be sealed -->
<NoWarn>$(NoWarn);CA1852</NoWarn>
<!-- Error out on warnings when releasing -->
<TreatWarningsAsErrors Condition=" '$(Configuration)' == 'Release' ">true</TreatWarningsAsErrors>
</PropertyGroup>
<ItemGroup>
<Using Include="System.Collections.Immutable" />
</ItemGroup>
</Project>