Skip to content

Fix template issues and change default framework to net10.0#9284

Merged
glen-84 merged 1 commit intomainfrom
gai/update-templates
Mar 2, 2026
Merged

Fix template issues and change default framework to net10.0#9284
glen-84 merged 1 commit intomainfrom
gai/update-templates

Conversation

@glen-84
Copy link
Copy Markdown
Member

@glen-84 glen-84 commented Mar 2, 2026

Summary of the changes (Less than 80 chars)

  • Fix template issues and change default framework to net10.0.

Copilot AI review requested due to automatic review settings March 2, 2026 10:25
Copy link
Copy Markdown
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

Updates the .NET templates to fix target-framework token replacement and to make .NET 10 (net10.0) the default framework when instantiating templates.

Changes:

  • Switch template schema references from http to https in template manifests.
  • Update template Framework symbol default from net8.0 to net10.0 (server/gateway/azure-function).
  • Adjust the gateway template project to use net8.0 as the replace-token baseline (so the template’s replaces: "net8.0" mechanism works reliably).

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
templates/server/.template.config/template.json Sets schema URL to HTTPS and changes default framework choice to net10.0.
templates/gateway/HotChocolate.Template.Gateway.csproj Changes the template’s baseline TFM to net8.0 so it can be replaced by the Framework parameter.
templates/gateway/.template.config/template.json Sets schema URL to HTTPS and changes default framework choice to net10.0.
templates/azure-function/.template.config/template.json Sets schema URL to HTTPS and changes default framework choice to net10.0.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@glen-84 glen-84 merged commit 7e6b738 into main Mar 2, 2026
121 checks passed
@glen-84 glen-84 deleted the gai/update-templates branch March 2, 2026 10:40
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (075aae3) to head (0594d45).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@     Coverage Diff      @@
##   main   #9284   +/-   ##
============================
============================

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants