Repository navigation
Add date-aware framework lifecycle metadata for .NET 11 GA - #555
Merged
Merged
Conversation
Share release types and support dates across framework helpers, resources, SDK outputs, completions, and validation. Preserve .NET 10 defaults and cover GA/EOL boundaries deterministically. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Platform-qualified .NET 8 TFMs bypass lifecycle lookup, causing validation to miss the EOL warning after November 10, 2026, and report an unknown lifecycle.
1 open issue
What changed in this PR
Adds date-aware framework lifecycle metadata so the MCP server’s discovery and recommendations track .NET 11 GA and support deadlines, while preserving .NET 10 project defaults.
Changes:
- Centralizes release classifications, GA dates, and inclusive support end dates.
- Exposes lifecycle metadata through resources and SDK tools, updates recommendations and completions, and adds EOL project warnings.
- Adds boundary and serialization tests, with documentation for the lifecycle contract.
| File | Description |
|---|---|
| DotNetMcp/Tools/Sdk/DotNetCliTools.Sdk.Consolidated.cs | Adds lifecycle details to framework tool output. |
| DotNetMcp/Tools/Cli/DotNetCliTools.Misc.cs | Makes capability recommendations date-aware. |
| DotNetMcp/Server/CompletionProvider.cs | Includes .NET 11 completions from GA. |
| DotNetMcp/SdkIntegration/ProjectAnalysisHelper.cs | Warns about EOL project frameworks. |
| DotNetMcp/SdkIntegration/FrameworkHelper.cs | Centralizes lifecycle dates and recommendation logic. |
| DotNetMcp/Resources/ResourceJsonModels.cs | Adds resource lifecycle fields. |
| DotNetMcp/Resources/DotNetResources.cs | Shares lifecycle-aware resource discovery. |
| DotNetMcp/Helpers/StructuredContentTypes.cs | Adds structured framework lifecycle metadata. |
| DotNetMcp.Tests/Tools/ConsolidatedSdkToolTests.cs | Tests lifecycle text and serialized output. |
| DotNetMcp.Tests/Server/ServerCapabilitiesTests.cs | Tests recommendations across GA. |
| DotNetMcp.Tests/Server/OutputSchemaTests.cs | Checks lifecycle payloads against output schemas. |
| DotNetMcp.Tests/Server/CompletionProviderTests.cs | Tests GA inclusion and EOL retention. |
| DotNetMcp.Tests/SdkIntegration/ProjectAnalysisHelperTests.cs | Tests EOL warning boundaries. |
| DotNetMcp.Tests/SdkIntegration/FrameworkHelperTests.cs | Tests lifecycle dates, descriptions, and recommendations. |
| DotNetMcp.Tests/Resources/DotNetResourcesParsingTests.cs | Makes preview SDK-gating tests deterministic. |
| DotNetMcp.Tests/Resources/DotNetResourcesLookupTests.cs | Tests resource discovery and lifecycle serialization. |
| doc/sdk-integration.md | Documents lifecycle behavior and unchanged defaults. |
| doc/machine-readable-contract.md | Defines lifecycle fields and transition semantics. |
Review effort: Balanced
Use NuGet framework parsing to look up the underlying recorded release while preserving original TFMs in output and diagnostics. Cover the inclusive .NET 8 EOL boundary for Windows-qualified frameworks. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
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.

Framework metadata currently labels .NET 11 as Preview indefinitely and cannot distinguish historical LTS classification from ongoing support. This change keeps recommendations and discovery accurate across the upcoming GA and end-of-support transitions.
Approach
FrameworkHelper, evaluated against one UTC date per response.net11.0at GA while retainingnet10.0as latest LTS and leaving project/template defaults unchanged.Lifecycle decisions
Support end dates are inclusive: .NET 8/9 become EOL on November 11, 2026. .NET 11 uses Microsoft's published November 14, 2028 support end date, rather than November 9 in the issue. Unknown or OS-dependent lifecycle data remains null/omitted. Recommendations fail explicitly if no recorded supported release remains, instead of recommending an expired release.
No SDK, runtime target, package, or tool-manifest versions are changed.
Validation
net10.0andnet11.0, including deterministic GA/EOL boundaries, production and source-generated serialization, output schemas, capabilities, completions, and project validation.Fixes: #544