# dotnet/sourcelink

Source Link enables a great source debugging experience for your users, by adding source control metadata to your built assets

Repository: https://github.com/dotnet/sourcelink
Canonical: https://ross.abutalabs.com/products/sourcelink
Language: C#
License: MIT
License Family: permissive
Last push: 2026-08-26T08:53:51+00:00

## Health v2 (maintenance only)
Score: 85/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 59, longevity 100
- inputs: {"age_days": 3059, "days_push": 7, "days_rel": 197, "gap_med": 34, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1349, forks 147 (observed 2026-08-28T04:04:27.960774+00:00)

## What it is
Source Link is a set of .NET build tools and NuGet packages that embed source control metadata into binaries, symbols (PDBs), and packages so debuggers can download the exact commit-specific source code. It is language- and source-control agnostic and is included by default in the .NET 8+ SDK for GitHub, Azure DevOps, GitLab, and Bitbucket.

## Use cases
- enable source stepping into NuGet package dependencies in Visual Studio
- embed source control metadata in PDBs and assemblies
- publish debuggable .NET libraries with source linking
- debug third-party .NET packages at the exact commit
- set up source debugging for private GitHub or Azure DevOps repos

## When to choose
- you publish NuGet libraries and want users to debug into your source
- you want breakpoints and source stepping in arbitrary .NET dependencies
- you need commit-specific source downloads during debugging

## When to avoid
- your project is not on .NET or a supported source control host
- you cannot distribute PDBs or source URLs publicly
- you only need local debugging of your own code without package distribution

## Facets
- artifact type: library
- maturity: stable
- function: developer-tools, build-tool
- domain: developer-tools, version-control, testing
- platform: dotnet, cross-platform, windows
- tags: source-link, debugging, pdb-symbols, nuget, source-control-metadata, csharp, debugging-metadata, linux, macos

## Member repositories
- dotnet/sourcelink (main) score 85

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:27.960774+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:42:21.118965+00:00, confidence not recorded.
  - readme: https://github.com/dotnet/sourcelink (fetched 2026-08-28T04:04:27.960774+00:00, sha d9c4ad4a510c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
