-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
36 lines (31 loc) · 1.23 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
33
34
35
36
<Project>
<!-- Project properties -->
<PropertyGroup>
<LangVersion>12</LangVersion>
</PropertyGroup>
<!-- NuGet -->
<PropertyGroup>
<Authors>IvanGit</Authors>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Copyright>Copyright (c) $(Authors) $([System.DateTime]::Today.ToString(yyyy))</Copyright>
</PropertyGroup>
<!-- SourceLink -->
<PropertyGroup>
<!-- Optional: Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<!-- Optional: Embed source files that are not tracked by the source control manager in the PDB -->
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<!-- Optional: Build symbol package (.snupkg) to distribute the PDB containing Source Link -->
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
<!-- Sign assembly -->
<PropertyGroup>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)MyPublicKey.snk</AssemblyOriginatorKeyFile>
<PublicSign>true</PublicSign>
</PropertyGroup>
<PropertyGroup>
<UseNuExtPackages>true</UseNuExtPackages>
</PropertyGroup>
</Project>