Skip to content

Remove explicit Microsoft.SourceLink.GitHub package reference#65

Merged
Tyrrrz merged 2 commits intomasterfrom
copilot/remove-sourcelink-package-reference
Mar 2, 2026
Merged

Remove explicit Microsoft.SourceLink.GitHub package reference#65
Tyrrrz merged 2 commits intomasterfrom
copilot/remove-sourcelink-package-reference

Conversation

Copy link
Contributor

Copilot AI commented Mar 2, 2026

Since .NET 8 SDK, Source Link support for GitHub-hosted repositories is built into the SDK — the Microsoft.SourceLink.GitHub NuGet package is no longer needed.

Changes

  • GitHubActionsTestLogger/GitHubActionsTestLogger.csproj — removed PackageReference for Microsoft.SourceLink.GitHub
  • Directory.Packages.props — removed corresponding PackageVersion entry
Original prompt

Background

Since .NET 8 SDK, Source Link support is built directly into the SDK for GitHub-hosted repositories. It is no longer necessary to explicitly reference the Microsoft.SourceLink.GitHub NuGet package.

Task

Remove all explicit references to Microsoft.SourceLink.GitHub from the project:

  1. In GitHubActionsTestLogger/GitHubActionsTestLogger.csproj, remove the following line:

    <PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="all" />
  2. In Directory.Packages.props, remove the following line:

    <PackageVersion Include="Microsoft.SourceLink.GitHub" Version="10.0.103" />

Do not make any other changes. The built-in SDK Source Link support will take over automatically.

This pull request was created from Copilot chat.


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

@Tyrrrz Tyrrrz added the enhancement New feature or request label Mar 2, 2026
@Tyrrrz Tyrrrz marked this pull request as ready for review March 2, 2026 11:38
Copilot AI review requested due to automatic review settings March 2, 2026 11:38
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov
Copy link

codecov bot commented Mar 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.62%. Comparing base (89f20f2) to head (837a548).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #65   +/-   ##
=======================================
  Coverage   84.62%   84.62%           
=======================================
  Files          23       23           
  Lines         722      722           
  Branches       85       85           
=======================================
  Hits          611      611           
  Misses         58       58           
  Partials       53       53           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Co-authored-by: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com>
Copilot AI changed the title [WIP] Remove explicit references to Microsoft.SourceLink.GitHub Remove explicit Microsoft.SourceLink.GitHub package reference Mar 2, 2026
@Tyrrrz Tyrrrz merged commit 66fbd31 into master Mar 2, 2026
7 checks passed
@Tyrrrz Tyrrrz deleted the copilot/remove-sourcelink-package-reference branch March 2, 2026 11:45
This was referenced Mar 25, 2026
github-actions bot pushed a commit to IntelliTect/EssentialCSharp.ListingManager that referenced this pull request Mar 26, 2026
Updated
[GitHubActionsTestLogger](https://github.com/Tyrrrz/GitHubActionsTestLogger)
from 3.0.1 to 3.0.2.

<details>
<summary>Release notes</summary>

_Sourced from [GitHubActionsTestLogger's
releases](https://github.com/Tyrrrz/GitHubActionsTestLogger/releases)._

## 3.0.2

## What's Changed
* Bump the nuget group with 4 updates by @​dependabot[bot] in
Tyrrrz/GitHubActionsTestLogger#59
* Bump the nuget group with 1 update by @​dependabot[bot] in
Tyrrrz/GitHubActionsTestLogger#60
* Migrate to Centralized NuGet Package Management (CPM) by @​Copilot in
Tyrrrz/GitHubActionsTestLogger#61
* Use range indexer in `SubstringAfterLast` by @​Copilot in
Tyrrrz/GitHubActionsTestLogger#62
* Bump the nuget group with 7 updates by @​dependabot[bot] in
Tyrrrz/GitHubActionsTestLogger#63
* Fix build errors from obsolete MTP API usage by @​Copilot in
Tyrrrz/GitHubActionsTestLogger#64
* Remove explicit Microsoft.SourceLink.GitHub package reference by
@​Copilot in Tyrrrz/GitHubActionsTestLogger#65
* Add strong naming by @​mgravell in
Tyrrrz/GitHubActionsTestLogger#67

## New Contributors
* @​Copilot made their first contribution in
Tyrrrz/GitHubActionsTestLogger#61
* @​mgravell made their first contribution in
Tyrrrz/GitHubActionsTestLogger#67

**Full Changelog**:
Tyrrrz/GitHubActionsTestLogger@3.0.1...3.0.2

Commits viewable in [compare
view](Tyrrrz/GitHubActionsTestLogger@3.0.1...3.0.2).
</details>

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=GitHubActionsTestLogger&package-manager=nuget&previous-version=3.0.1&new-version=3.0.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants