Repository navigation
Clarify Microsoft.Extensions.Hosting package prerequisite and version for CreateApplicationBuilder (Fixes #51289) - #56657
Merged
BillWagner merged 2 commits intoDec 1, 2026
Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The documentation bases the API fallback on the target framework rather than the hosting package version, incorrectly redirecting .NET 6 users who have Microsoft.Extensions.Hosting 7.0.0.
1 open issue
What changed in this PR
This PR addresses #51289 by clarifying the hosting package prerequisites for the configuration article’s Generic Host example.
Changes:
- Adds the CLI command to install
Microsoft.Extensions.Hosting. - Documents the package version required for
Host.CreateApplicationBuilderand adds fallback guidance with a Generic Host link.
| File | Description |
|---|---|
docs/core/extensions/configuration.md |
Expands package setup and API compatibility guidance, and refreshes the article date. |
Review effort: Balanced
… for CreateApplicationBuilder (Fixes dotnet#51289)
Manish-1kumar
force-pushed
the
users/manish/issue-51289-create-application-builder-hosting-prereqs
branch
from
November 30, 2026 17:40
303b0a6 to
1d9d477
Compare
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.

Fixes #51289
Summary of Changes
Internal previews
Build report