Skip to content

Comments

Remove NuGet package references from API docs#12339

Open
jeffhandley wants to merge 2 commits intodotnet:mainfrom
jeffhandley:jeffhandley/remove-nuget-links
Open

Remove NuGet package references from API docs#12339
jeffhandley wants to merge 2 commits intodotnet:mainfrom
jeffhandley:jeffhandley/remove-nuget-links

Conversation

@jeffhandley
Copy link
Member

The references to the NuGet package within the System.Collections.Immutable API docs seem out of place. These are the only APIs that have such references, and @richlander and I agreed we should propose removing them. That is commit 4a53278.

A scan across the repo found only a few other references to NuGet packages, but they seem more appropriate. We may want to keep the ones included in this commit: 2c1e1b1. If so, I'll just drop that commit and force push.

jeffhandley and others added 2 commits February 20, 2026 18:51
Remove self-referencing NuGet package links from all 36 files in
System.Collections.Immutable, the ImmutableArrayExtensions in
System.Linq, and the namespace doc. These references to the package
that the APIs ship in are unnecessary.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Remove NuGet references from:
- System.Configuration/ConfigurationBuilder.xml (NuGet.org package list)
- System.Net.Http/HttpClientHandler.xml (NuGet package version notes)
- System.Net.Http/WinHttpHandler.xml (NuGet package availability)
- ns-System.Net.Http.xml (NuGet packages TIP callout)
- Microsoft.Extensions.AI.Evaluation/EvaluationContext.xml (Reporting package reference)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jeffhandley jeffhandley self-assigned this Feb 21, 2026
@jeffhandley jeffhandley requested review from a team as code owners February 21, 2026 03:21
Copilot AI review requested due to automatic review settings February 21, 2026 03:21
@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-collections

@dotnet-policy-service
Copy link
Contributor

@@jeffhandley - This PR edits one or more files whose 'source of truth' for documentation is not in this repo. Please make documentation updates in the /// comments in the dotnet/runtime repo (or dotnet/extensions repo) instead.

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.

Pull request overview

This pull request removes NuGet package references from API documentation across the codebase. The changes primarily target System.Collections.Immutable APIs, which had standardized NuGet package references in summaries and remarks sections, along with a few references in System.Net.Http, System.Configuration, and Microsoft.Extensions.AI.Evaluation namespaces. The PR description indicates these references are considered out of place and inconsistent with documentation standards for other APIs.

Changes:

  • Removed NuGet package references from System.Collections.Immutable API documentation (summaries and remarks)
  • Removed NuGet package references from System.Net.Http namespace documentation and related types
  • Removed NuGet package references from System.Configuration.ConfigurationBuilder documentation
  • Simplified Microsoft.Extensions.AI.Evaluation documentation by removing a specific NuGet package mention from an example

Reviewed changes

Copilot reviewed 43 out of 43 changed files in this pull request and generated no comments.

Show a summary per file
File Description
xml/ns-System.Net.Http.xml Removed TIP box about types being available through NuGet packages
xml/ns-System.Collections.Immutable.xml Removed paragraph about NuGet package availability for .NET Framework
xml/System.Net.Http/WinHttpHandler.xml Removed NuGet package link from remarks
xml/System.Net.Http/HttpClientHandler.xml Removed version-specific NuGet package information from AutomaticDecompression property
xml/System.Linq/ImmutableArrayExtensions.xml Removed NuGet package reference from summary
xml/System.Configuration/ConfigurationBuilder.xml Removed list of NuGet package implementations from remarks
xml/System.Collections.Immutable/*.xml (29 files) Removed standardized NuGet package references from summaries and remarks across all immutable collection types
xml/Microsoft.Extensions.AI.Evaluation/EvaluationContext.xml Simplified serialization example text by removing specific NuGet package mention

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant