-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
32 lines (28 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
<Project>
<Import Project="Build\Version.props" />
<PropertyGroup>
<Company>dotnet campus</Company>
<Authors>SeWzc</Authors>
<Copyright>Copyright (c) dotnet-campus 2023-$([System.DateTime]::Now.ToString(`yyyy`))</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<!-- 嵌入源代码到符号文件,方便调试 -->
<EmbedAllSources>true</EmbedAllSources>
<!-- 输出符号包 -->
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<!-- 输出 pdb 文件到 NuGet 包 -->
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<!-- 生成注释xml文件 -->
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<LangVersion>preview</LangVersion>
<Nullable>enable</Nullable>
<AnalysisLevel>latest-all</AnalysisLevel>
<NoWarn>$(NoWarn);NU1507</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<WarningLevel>9999</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<WarningLevel>9999</WarningLevel>
</PropertyGroup>
</Project>