Skip to content

Commit c069957

Browse files
Add SourceLink support
Add support for SourceLink in the compiled binaries.
1 parent d43a53e commit c069957

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

build/dependencies.props

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,8 @@
1212
<XunitVersion>2.4.1</XunitVersion>
1313
</PropertyGroup>
1414

15+
<ItemGroup>
16+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-19270-01" PrivateAssets="All" />
17+
</ItemGroup>
18+
1519
</Project>

build/packages.props

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)key.snk</AssemblyOriginatorKeyFile>
88
<SignAssembly>true</SignAssembly>
99
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
10+
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
11+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
1012
<IncludeSource>true</IncludeSource>
1113
<IncludeSymbols>true</IncludeSymbols>
1214
</PropertyGroup>
@@ -16,6 +18,7 @@
1618
<PackageIconUrl>https://avatars3.githubusercontent.com/u/7998081?s=64</PackageIconUrl>
1719
<PackageProjectUrl>https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers</PackageProjectUrl>
1820
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
21+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
1922
<RepositoryType>git</RepositoryType>
2023
<RepositoryUrl>git://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers</RepositoryUrl>
2124
</PropertyGroup>

0 commit comments

Comments
 (0)