-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
28 lines (26 loc) · 1.15 KB
/
Directory.Build.props
File metadata and controls
28 lines (26 loc) · 1.15 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
<Project>
<!-- 统一常用编译属性,不覆盖各项目的 TargetFramework 设置 -->
<PropertyGroup>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<Deterministic>true</Deterministic>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisLevel>latest-recommended</AnalysisLevel>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<!-- CS1591: Missing XML comment -->
<!-- CA1848: For improved performance, use the LoggerMessage delegates -->
<NoWarn>$(NoWarn);CS1591;CA1848</NoWarn>
<!-- 按需启用预览特性(若项目使用) -->
<EnablePreviewFeatures>false</EnablePreviewFeatures>
<!-- Package metadata -->
<Authors>L2Cache Team</Authors>
<Company>L2Cache Team</Company>
<Copyright>Copyright (c) 2024 L2Cache Team</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryType>git</RepositoryType>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
</Project>