Generate real source links for the built assemblies

The SDK supplies Microsoft.SourceLink.Common and the git tasks, so the build
resolved the repository URL and commit but had no host provider to turn them
into fetchable URLs. Every project warned that the generated source link was
empty - 477 times in the last validate run - and shipped PDBs that could not
locate their sources.

Referencing the GitHub provider, as AudibleApi already does, fills the map in:
  {"documents":{"/repo/*":"https://raw.githubusercontent.com/rmcrackan/libation/<sha>/*"}}

Co-authored-by: rmcrackan <rmcrackan@gmail.com>
This commit is contained in:
Cursor Agent
2026-08-19 19:07:22 +00:00
parent 63dc8fc988
commit 0cecaad686

View File

@@ -2,4 +2,12 @@
<PropertyGroup>
<EnableMSTestRunner>true</EnableMSTestRunner>
</PropertyGroup>
<ItemGroup>
<!-- The SDK supplies Microsoft.SourceLink.Common and the git tasks, which is enough to find the
repository but not to turn its URL into fetchable source URLs. Without a host provider every
project warns that the generated source link is empty and ships PDBs that cannot locate their
sources. -->
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="10.0.301" PrivateAssets="All" />
</ItemGroup>
</Project>