Skip to content
This repository was archived by the owner on Dec 18, 2023. It is now read-only.

Commit 125ca41

Browse files
bring source link (#61)
1 parent 8790f6c commit 125ca41

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

build/Common.prod.props

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,19 @@
4444
<VersionSuffix>$(PreReleaseMilestone)-$(PreReleaseVersion)</VersionSuffix>
4545
<FileVersion Condition="'$(PreReleaseVersion)' != ''">$(SemanticVersionMajor).$(SemanticVersionMinor).$(SemanticVersionPatch).$(PreReleaseVersion)</FileVersion>
4646
</PropertyGroup>
47+
48+
<PropertyGroup>
49+
<!-- Optional: Declare that the Repository URL can be published to NuSpec -->
50+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
51+
52+
<!-- Optional: Embed source files that are not tracked by the source control manager to the PDB -->
53+
<!-- This is useful if you generate files during the build -->
54+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
55+
</PropertyGroup>
56+
57+
<ItemGroup>
58+
<!-- Required -->
59+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-*" PrivateAssets="All"/>
60+
</ItemGroup>
61+
4762
</Project>

0 commit comments

Comments
 (0)