Skip to content

Commit 6d511c7

Browse files
added SourceLink.Github support (#166)
* added SourceLink.Github support * added SourceLink metadata * made SourceLink a private asset
1 parent a2ad67d commit 6d511c7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/common.props

+13
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,17 @@ For a set of complete bug fixes and changes, please see [the HOCON v1.2.1 milest
2424
<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.1' ">
2525
<DefineConstants>$(DefineConstants);NETCORE</DefineConstants>
2626
</PropertyGroup>
27+
<PropertyGroup>
28+
<!-- Optional: Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) -->
29+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
30+
31+
<!-- Optional: Embed source files that are not tracked by the source control manager in the PDB -->
32+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
33+
34+
<!-- Optional: Build symbol package (.snupkg) to distribute the PDB containing Source Link -->
35+
<IncludeSymbols>true</IncludeSymbols>
36+
</PropertyGroup>
37+
<ItemGroup>
38+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
39+
</ItemGroup>
2740
</Project>

0 commit comments

Comments
 (0)