Skip to content

Upgrade to support unify config

Tian Yuan edited this page Apr 13, 2022 · 6 revisions

We will the configuration files so that your project is compatible with the latest Teams Toolkit features, including a consistent configuration file schema and a single Teams app manifest template across local and remote environments.

Collaborate cautions

If you collaborate on this project with your co-workers, they need to update Teams toolkit extension to the latest version.

Know about the upgrade benefits

We combine local and remote manifest configs into one style. You can configure once for bot local and remote environments.

Know about the changes we made

After the project upgrade, the new file structure will consist:

  • localSettings.json will be updated to config.local.json to ensure consistency between local and remote environment configuration settings.
  • manifest.local.template.json and manifest.remote.template.json will be merged into a single manifest template file named manifest.template.json to make managing manifest template files easy.

Your existing localSettings.json, manifest.local.template.json, and manifest.remote.template.json files will be backed up in .backup folder.

Know what you need to do

Since Teams Toolkit will use manifest.remote.template.json as a single manifest template file after the upgrade, if you have customized the manifest.local.template.json you will need to place your changes in config.local.json and pass it to the template.

Know about how to restore your project

If anything went wrong after the upgrade process, you could restore your old project configuration files by:

  • Copy the .backup/.fx folder to your project root path.
  • Copy the .backup/templates folder to your project root path.
  • Delete config.local.json and manifest.template.json if needed.
Clone this wiki locally