-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
33 lines (28 loc) · 1.44 KB
/
Directory.Build.props
File metadata and controls
33 lines (28 loc) · 1.44 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
<Project>
<!-- Build-related properties -->
<PropertyGroup>
<ImplicitUsings>disable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<!-- NuGet-related properties -->
<PropertyGroup>
<Authors>Carl Stephens</Authors>
<PackageProjectUrl>https://github.com/PS2Sanctuary/PacketSerializationGenerators</PackageProjectUrl>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/PS2Sanctuary/PacketSerializationGenerators</RepositoryUrl>
<PackageOutputPath>$(MSBuildThisFileDirectory)nuget</PackageOutputPath>
</PropertyGroup>
<!-- Source-link setup -->
<PropertyGroup>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<!-- Include symbol files (*.pdb) in the built .nupkg. We prefer this to symbol packages as it's a small library (hence restore time minimal) -->
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
<!-- NuGet-related release properties -->
<PropertyGroup Condition="'$(Configuration)'=='Release'">
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>
</Project>