From 9dc81f9a23f862f8b8e2d119d41a0005d49649e0 Mon Sep 17 00:00:00 2001 From: Marc Gravell Date: Tue, 15 Sep 2026 14:48:31 +0100 Subject: [PATCH] Drop explicit Microsoft.SourceLink.GitHub reference The .NET SDK has included and enabled Source Link for GitHub-hosted repos by default since 8.0.100; our pinned SDK is well past that. Referencing the package explicitly overrides the SDK's own version with ours, which is why we had to hand-bump it for a CVE in Microsoft.Build.Tasks.Git (#3210) - a class of maintenance the SDK now handles for us if we get out of its way. Verified the generated *.sourcelink.json and the packed nuspec element are unchanged across all six TFMs. Closes #3218 --- Directory.Packages.props | 1 - src/Directory.Build.props | 1 - 2 files changed, 2 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 9c8577465..f822909d2 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -40,7 +40,6 @@ - diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 23f221374..3e74bfb10 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -13,7 +13,6 @@ those are not part of the published surface and have no docs requirements. --> -