Remove explicit Microsoft.SourceLink.GitHub package reference#321
Merged
Remove explicit Microsoft.SourceLink.GitHub package reference#321
Conversation
…T 8+ SDK) Co-authored-by: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Remove explicit reference to Microsoft.SourceLink.GitHub
Remove explicit Microsoft.SourceLink.GitHub package reference
Mar 2, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Removes explicit Microsoft.SourceLink.GitHub dependency declarations so Source Link is provided by the .NET SDK instead of an explicit NuGet package reference.
Changes:
- Removed the central
PackageVersionentry forMicrosoft.SourceLink.GitHub. - Removed the
PackageReferencetoMicrosoft.SourceLink.GitHubfromCliWrap/CliWrap.csproj.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| Directory.Packages.props | Drops the centrally-managed version entry for Microsoft.SourceLink.GitHub. |
| CliWrap/CliWrap.csproj | Removes the explicit SourceLink package reference from the library project. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #321 +/- ##
=======================================
Coverage 94.48% 94.48%
=======================================
Files 45 45
Lines 1215 1215
Branches 89 89
=======================================
Hits 1148 1148
Misses 42 42
Partials 25 25 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This was referenced Mar 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Since .NET 8 SDK, Source Link support for GitHub-hosted repositories is built into the SDK — the
Microsoft.SourceLink.GitHubNuGet package is redundant.Changes
CliWrap/CliWrap.csproj— removedPackageReferenceforMicrosoft.SourceLink.GitHubDirectory.Packages.props— removed correspondingPackageVersionentryOriginal prompt
This pull request was created from Copilot chat.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.