Skip to content

Commit e08bfa0

Browse files
martincostellokevinchalet
authored andcommitted
Add SourceLink support
1 parent 2af21c9 commit e08bfa0

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

build/dependencies.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<JsonNetVersion>10.0.3</JsonNetVersion>
1010
<JustEatHttpClientInterceptionVersion>2.0.1</JustEatHttpClientInterceptionVersion>
1111
<MartinCostelloLoggingXUnitVersion>0.1.0</MartinCostelloLoggingXUnitVersion>
12+
<MicrosoftSourceLinkGitHubVersion>1.0.0-beta2-19270-01</MicrosoftSourceLinkGitHubVersion>
1213
<ShouldlyVersion>3.0.2</ShouldlyVersion>
1314
<XunitVersion>2.4.1</XunitVersion>
1415
</PropertyGroup>

build/packages.props

Lines changed: 7 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,8 +18,13 @@
1618
<PackageIconUrl>https://avatars3.githubusercontent.com/u/7998081?s=64</PackageIconUrl>
1719
<PackageProjectUrl>https://github.com/aspnet-contrib/AspNet.Security.OpenId.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.OpenId.Providers</RepositoryUrl>
2124
</PropertyGroup>
2225

26+
<ItemGroup>
27+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="$(MicrosoftSourceLinkGitHubVersion)" PrivateAssets="All" />
28+
</ItemGroup>
29+
2330
</Project>

0 commit comments

Comments
 (0)