Skip to content

Conversation

@jeffhandley
Copy link
Member

@jeffhandley jeffhandley commented Dec 20, 2025

Caught this while validating [release/10.1] AI Project Template Servicing (#7169). This is included in that PR as well, but this backports the change into main.

Microsoft Reviewers: Open in CodeFlow

@jeffhandley jeffhandley self-assigned this Dec 20, 2025
@jeffhandley jeffhandley added the area-ai-templates Microsoft.Extensions.AI.Templates label Dec 20, 2025
Copilot AI review requested due to automatic review settings December 20, 2025 01:20
@jeffhandley jeffhandley requested a review from a team as a code owner December 20, 2025 01:20
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 PR backports a version alignment fix from the release/10.1 servicing branch to main. The change ensures that the Microsoft.McpServer.ProjectTemplates package version is explicitly set to align with the ModelContextProtocol packages it references.

  • Adds explicit version properties (MajorVersion, MinorVersion, PatchVersion, PreReleaseVersionLabel) to set version to 0.5.0-preview.1
  • Aligns the template package version with ModelContextProtocol and ModelContextProtocol.AspNetCore packages defined in eng/packages/ProjectTemplates.props
  • Follows the same versioning pattern used by other template packages in the repository (e.g., Microsoft.Agents.AI.ProjectTemplates)

@jeffhandley jeffhandley enabled auto-merge (squash) December 20, 2025 03:07
@jeffhandley jeffhandley merged commit 185e1ea into dotnet:main Jan 8, 2026
13 checks passed
@jeffhandley jeffhandley deleted the jeffhandley/mcpserver-template-versioning branch January 8, 2026 17:36
joperezr pushed a commit to joperezr/extensions that referenced this pull request Jan 13, 2026
…align with MCP packages

Backports dotnet#7170 into the release branch as it was merged into main after the snap.

This will effectively prevent the 10.2 release from publishing the package since it hard codes the version to a version that has already been published, but it gets the release branch aligned with the release/10.1 branch that has this change as well.

----
#### AI description  (iteration 1)
#### PR Classification
This pull request is a configuration update that aligns the project's version metadata with MCP packages.

#### PR Summary
The update adds explicit version properties to ensure consistency with ModelContextProtocol package versions.
- `src/ProjectTemplates/Microsoft.McpServer.ProjectTemplates/Microsoft.McpServer.ProjectTemplates.csproj`: Added `<MajorVersion>0</MajorVersion>`, `<MinorVersion>5</MinorVersion>`, `<PatchVersion>0</PatchVersion>`, and `<PreReleaseVersionLabel>preview</PreReleaseVersionLabel>`.
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-ai-templates Microsoft.Extensions.AI.Templates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants