Description
Windows Terminal version
1.22.11141.0
Windows build number
10.0.26100.0
Other Software
Microsoft Visual Studio Community 2022
Steps to reproduce
- Perform a fresh installation of Windows and Visual Studio Community 2022
- Notice the two newly added profiles to Windows Terminal "Developer Command Prompt for VS 2022" and "Developer PowerShell for VS 2022"
- Backup your settings.json for Windows Terminal
- Repeat step 1 and notice the GUIDs of the profiles have changed; using your backed up configuration from step 3 on the new installation will not allow you to open those profiles as the GUIDs seem to be tied to the current installation and change upon reinstallation
Note: It is likely that this may occur upon reinstalling Visual Studio on the same Windows install but I haven't yet tested that scenario.
Expected Behavior
I was expecting that it would be possible to backup and restore my Windows Terminal settings.json and have it work on a fresh installation of Windows with the Visual Studio 2022 profiles.
Actual Behavior
Instead, the original profiles won't work on the new installation as their respective GUIDs will have changed and appear to be tied to the Visual Studio installation, making the old GUIDs unusable. Worse still, I can't seem to find where those GUIDs are defined so that I can template out the configuration file and replace the GUIDs myself.
The current behaviour makes it more confusing and difficult to backup and restore your settings.json across Windows reinstalls.