Set Microsoft.McpServer.ProjectTemplates version to align with MCP packages#7170
Merged
jeffhandley merged 1 commit intodotnet:mainfrom Jan 8, 2026
Conversation
Contributor
There was a problem hiding this comment.
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)
jozkee
approved these changes
Jan 8, 2026
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 -->
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.
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