-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
58 lines (51 loc) · 2.32 KB
/
Directory.Build.props
File metadata and controls
58 lines (51 loc) · 2.32 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>
<Import Project="build\Version.props" />
<!-- Framework and language -->
<PropertyGroup>
<!-- Language -->
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<!-- Build -->
<ArtifactsPath>$(MSBuildThisFileDirectory)artifacts</ArtifactsPath>
<Deterministic>true</Deterministic>
<!--
Add NoWarn to remove build warnings
NU1803: Using an insecure http NuGet source
CS1591: Missing XML comment for publicly visible type or member
-->
<NoWarn>$(NoWarn);NU1507;NU1803;NETSDK1201;NETSDK1138;PRI257;CS1591</NoWarn>
<!--
CA1416: Platform compatibility warning
-->
<WarningsAsErrors>$(WarningsAsErrors);CA1416</WarningsAsErrors>
</PropertyGroup>
<!-- Custom properties -->
<PropertyGroup>
<RepositoryRoot>$(MSBuildThisFileDirectory)</RepositoryRoot>
<ThisYear>$([System.DateTime]::Now.ToString(`yyyy`))</ThisYear>
</PropertyGroup>
<!-- Package and project properties -->
<PropertyGroup>
<Description>The InkCanvas</Description>
<Company>dotnet campus(.NET 职业技术学院)</Company>
<Authors>dotnet-campus</Authors>
<Copyright>Copyright © 2023-$(ThisYear) dotnet campus, All Rights Reserved.</Copyright>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/dotnet-campus/DotNetCampus.InkCanvas</RepositoryUrl>
<PackageProjectUrl>https://github.com/dotnet-campus/DotNetCampus.InkCanvas</PackageProjectUrl>
<IsPackable>false</IsPackable>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<EmbedAllSources Condition="'$(Configuration)' != 'Debug'">true</EmbedAllSources>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<ContinuousIntegrationBuild Condition="'$(GITHUB_ACTIONS)' == 'true'">true</ContinuousIntegrationBuild>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
<ItemGroup>
<SourceRoot Include="$(MSBuildThisFileDirectory)"/>
<!-- 嵌入 README 文件 -->
<None Include="$(RepositoryRoot)README.md" Pack="true" PackagePath="\" Visible="false"/>
</ItemGroup>
</Project>