Skip to content

Commit 338c4ee

Browse files
authored
Merge pull request #160 from kdcllc/master
add SourceLink issue #157
2 parents 4fb3c2e + 35e96f7 commit 338c4ee

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

build/common.props

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,15 @@
4545
<ItemGroup>
4646
<None Include="../../icon.png" Pack="true" Visible="false" PackagePath="" />
4747
</ItemGroup>
48+
49+
<ItemGroup Label="SourceLink">
50+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
51+
</ItemGroup>
52+
53+
<PropertyGroup Label="SourceLink Settings">
54+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
55+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
56+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
57+
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
58+
</PropertyGroup>
4859
</Project>

0 commit comments

Comments
 (0)