Skip to content

Commit 59e6eae

Browse files
committed
build: add SourceLink support for debugging with PDBs
- Added Microsoft.SourceLink.GitHub package - Enabled PublishRepositoryUrl, EmbedUntrackedSources, and ContinuousIntegrationBuild - Configured portable PDB generation for better symbol support
1 parent 4ff697f commit 59e6eae

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/HttpClient.Resilience/HttpClient.Resilience.csproj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
<IncludeSymbols>true</IncludeSymbols>
1919
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
2020
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
21+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
22+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
23+
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
24+
<DebugType>portable</DebugType>
2125
</PropertyGroup>
2226

2327
<ItemGroup>
@@ -28,4 +32,8 @@
2832
<ItemGroup>
2933
<None Include="..\..\README.md" Pack="true" PackagePath="/" />
3034
</ItemGroup>
35+
36+
<ItemGroup>
37+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
38+
</ItemGroup>
3139
</Project>

0 commit comments

Comments
 (0)