Skip to content

Conversation

@jeffhandley
Copy link
Member

@jeffhandley jeffhandley commented Dec 20, 2025

This stages a 10.1.2 release to service the project templates. Notably, it updates the Agent Framework template to the latest version and it introduces the local vs. remote mcpserver template option with that template moving into a new package.

As a precursor to those updates, the project template infrastructure overhaul is pulled in as well.

These were clean cherry-picks.

Microsoft Reviewers: Open in CodeFlow

* Remove project template snapshots

* Overhaul project template builds and testing

* Add back project template snapshots after testing overhaul

* Remove project template snapshots

* Overhaul project template builds and testing, approach 2

* Add back project template snapshots

* Fix tools vs. tests package version imports

* Use full package names for all template PackageVersion references

* Improve MSBuild integration for getting project package versions

* Fix build/clean properties for project template artifacts paths

* Address PR feedback

1. Remove unused AllowExplicitReference property on PackageReference
2. Remove SetTargetFramework to avoid possible unintended side effects
3. Simplify how the replacement properties are passed in for template content

Also tighten up the Snapshot test AddPackageReferenceScrubber helper to ensure it only replaces version strings so that bugs in the MSBuild replacement logic that produce unexpected replacement strings do not get matched. This ensures the Snapshot tests fail if the version replacement logic is broken. As part of that, the scrubber helpers were moved into the VerifyScrubbers.cs file.
* Move the mcpserver template into a new Microsoft.McpServer.ProjectTemplates package

* Add local/remote option to McpServer template. Bump to MCP 0.5.0-preview.1.

* Address feedback on the mcpserver remote template

1. Move the VS/VS Code local config documentation blurb up in the README
2. Add a Known Issues section to the README
3. When using VS (not CLI or VS Code), use HTTPS instead of HTTP

* Fix typo in README
@jeffhandley jeffhandley self-assigned this Dec 20, 2025
@jeffhandley jeffhandley requested review from a team as code owners December 20, 2025 00:39
@jeffhandley jeffhandley added the area-ai-templates Microsoft.Extensions.AI.Templates label Dec 20, 2025
@jeffhandley jeffhandley merged commit 186ec9d into dotnet:release/10.1 Dec 20, 2025
6 checks passed
@jeffhandley jeffhandley deleted the jeffhandley/template-servicing branch December 20, 2025 01:55
@github-actions github-actions bot locked and limited conversation to collaborators Jan 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants