Skip to content

Commit

Permalink
added SourceLink.Github support (#166)
Browse files Browse the repository at this point in the history
* added SourceLink.Github support

* added SourceLink metadata

* made SourceLink a private asset
  • Loading branch information
Aaronontheweb committed Jan 15, 2020
1 parent a2ad67d commit 6d511c7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/common.props
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,17 @@ For a set of complete bug fixes and changes, please see [the HOCON v1.2.1 milest
<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.1' ">
<DefineConstants>$(DefineConstants);NETCORE</DefineConstants>
</PropertyGroup>
<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>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
</ItemGroup>
</Project>

0 comments on commit 6d511c7

Please sign in to comment.