-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
58 lines (50 loc) · 2.24 KB
/
Directory.Build.props
File metadata and controls
58 lines (50 loc) · 2.24 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<Project>
<PropertyGroup Condition="'$(CI)' == ''">
<CI>false</CI>
<!-- GitHub already defines CI -->
<CI Condition="'$(TF_BUILD)' == 'true' or '$(APPVEYOR)' != ''">true</CI>
</PropertyGroup>
<!-- TFMs for main and test projects -->
<PropertyGroup>
<_MainTargetFrameworks>net8.0</_MainTargetFrameworks>
<ContinuousIntegrationBuild>$(CI)</ContinuousIntegrationBuild>
<Deterministic>$(CI)</Deterministic>
</PropertyGroup>
<PropertyGroup>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<!-- Pinning still has some kinks. See https://github.com/NuGet/Home/issues/11952 -->
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
<TreatWarningsAsErrors>$(CI)</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition="'$(MSBuildProjectExtension)' == '.csproj'">
<!-- Enable all latest analyzers and all warning waves
See https://github.com/dotnet/roslyn/issues/63036 -->
<AnalysisLevel>latest-all</AnalysisLevel>
<AnalysisLevelStyle>all</AnalysisLevelStyle>
<WarningLevel>9999</WarningLevel>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
</PropertyGroup>
<PropertyGroup>
<!-- Needed for IDE0005 in cmdline builds with dotnet SDK >= 7.0.400.
See https://github.com/dotnet/roslyn/issues/41640
CS1591: Missing XML comment -->
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>$(NoWarn);CS1591</NoWarn>
<CopyDocumentationFileToOutputDirectory>false</CopyDocumentationFileToOutputDirectory>
<PublishDocumentationFiles>false</PublishDocumentationFiles>
</PropertyGroup>
<ItemGroup>
<GlobalAnalyzerConfigFiles Include="$(MSBuildThisFileDirectory)common.globalconfig" />
<!-- For temporary local use only -->
<!-- <GlobalAnalyzerConfigFiles Include="$(MSBuildThisFileDirectory)escalate.globalconfig" /> -->
</ItemGroup>
<PropertyGroup>
<Authors>Matthias Wolf</Authors>
<Company>Mawosoft</Company>
<Product>Mawosoft.MissingCoverage</Product>
<Copyright>Copyright (c) 2021-2024 Matthias Wolf, Mawosoft</Copyright>
<Version>0.9.4-dev</Version>
</PropertyGroup>
</Project>