Skip to content

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Aug 11, 2025

This PR enables Visual Studio 17.14 to access online templates by updating the template configuration in the release/VS1714P7 branch.

Problem

VS 17.14 was restricted to using local templates only because the useLocalTemplate flag was set to true in the template configuration. This prevented users from accessing the latest online templates from the Microsoft 365 Agents Toolkit repository.

Solution

Changed useLocalTemplate from true to false in packages/fx-core/src/common/templates-config.json. This single configuration change enables VS 17.14 to:

  • Fetch templates from the online Microsoft 365 Agents Toolkit repository
  • Access the latest template versions and updates
  • Use VS-specific template configurations (vstagPrefix: "templates-vs@", vsversion: "18.0.0")
  • Download templates from the correct URLs pointing to microsoft-365-agents-toolkit instead of the legacy TeamsFx repository

Changes Made

  • File: packages/fx-core/src/common/templates-config.json
  • Change: "useLocalTemplate": true"useLocalTemplate": false

This is a minimal, surgical change that directly addresses the issue title "let VS 17.14 can use online templates" without affecting any other functionality.

Fixes #14405.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copy link
Contributor Author

Copilot AI commented Aug 11, 2025

@Alive-Fish 👋 This repository doesn't have Copilot instructions. With Copilot instructions, I can understand the repository better, work faster and produce higher quality PRs.

I can generate a .github/copilot-instructions.md file for you automatically. Click here to open a pre-filled issue and assign it to me. I'll write the instructions, and then tag you for review.

@Alive-Fish Alive-Fish closed this Aug 11, 2025
@Copilot Copilot AI changed the title [WIP] [Servicing Hotfix] let VS 17.14 can use online templates [Servicing Hotfix] Enable VS 17.14 to use online templates Aug 11, 2025
@Copilot Copilot AI requested a review from Alive-Fish August 11, 2025 03:12
Copilot finished work on behalf of Alive-Fish August 11, 2025 03:12
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.

[Servicing Hotfix] let VS 17.14 can use online templates
2 participants