-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.Build.props
27 lines (22 loc) · 1.02 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
<Project>
<PropertyGroup Label="Versions">
<!-- Custom msbuild properties used in the project -->
<RepositoryTargetFrameworkVersion>net8.0</RepositoryTargetFrameworkVersion>
</PropertyGroup>
<!-- Settings for all projects. Can be overridden in the .csproj file. -->
<PropertyGroup Label="Global Settings">
<TargetFramework>$(RepositoryTargetFrameworkVersion)</TargetFramework>
<RollForward>LatestMinor</RollForward>
<!-- Implicitly adds some using directives for System.* namespaces. -->
<ImplicitUsings>enable</ImplicitUsings>
<!-- Enable null-checking for everything. -->
<Nullable>enable</Nullable>
<!-- Turn on code analysis.-->
<AnalysisMode>Recommended</AnalysisMode>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
</PropertyGroup>
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>
</Project>