Repository: microsoft/terminal (language: cpp)

Issue:
Windows Terminal no longer builds in Visual Studio 2019
The [prerequisites](https://github.com/microsoft/terminal#prerequisites) in the developer guidance documentation suggest you only need VS 2019 and v142 of platform tools to build Windows Terminal, but it seems that's no longer the case.

Building the last revision (ffe9a0f09bc7b3cb96908d265c93bcd1a4e75fa2) in VS 2019 (version 16.11.17) I get the following errors:

    The build tools for v143 (Platform Toolset = 'v143') cannot be found.
    To build using the v143 build tools, please install v143 build tools.

    The "GetFrameworkSdkPackages" task was not found.

I think the `GetFrameworkSdkPackages` error started with commit b0396f174127a9d23590a5cd0ae38872791a13f5 (PR #13535), and the v143 requirement came from 4e5a0c137b045d9f1f34114d12bc3b0ed0a03800 (PR #13621).

I'm not in a position to upgrade at the moment, but I'm assuming a switch to VS 2022 would fix those errors. I know at least that v143 of the build tools comes with VS 2022.

If these new requirements are intentional, we need to update the developer guidance. 


Discussion / hints:
Oh no. 😥
Unfortunately I did this intentionally. bd403dc8e71ff0e377f2c887c4c7f2032e3718d9 changed the requirement from VS 2019 to VS 2022, because I intended to use C++20 in this project, which requires VS 2022 (v143 build tools) for full support. I forgot to update the documentation. 😥

v142 has (incomplete) support for `/std:c++20` as well, so I can revert those commits to somewhat restore support for VS 2019 for now, until everyone gets a chance to switch to VS 2022. But I'm not sure how long this will hold as we potentially integrate more and more C++20 features over time...
I'm totally OK with the switch to VS2022 if it's necessary for moving forward with C++20, so don't feel you have to revert anything on my account. I just can't upgrade right now, but I'll get to it soon enough.

The main thing is getting the docs updated, because it's not immediately obvious from those errors message that an upgrade is required, and the developer guidance made me think I was still OK on VS2019.

Fix patch:
diff --git a/.vsconfig b/.vsconfig
index 46aed406c83..4df96d6cdf4 100644
--- a/.vsconfig
+++ b/.vsconfig
@@ -26,10 +26,10 @@
     "Microsoft.VisualStudio.Component.VC.Tools.x86.x64",
     "Microsoft.VisualStudio.Component.VC.Tools.ARM64",
     "Microsoft.VisualStudio.Component.VC.ASAN",
-    "Microsoft.VisualStudio.Component.VC.v142.x86.x64",
-    "Microsoft.VisualStudio.Component.VC.v142.ARM64",
+    "Microsoft.VisualStudio.Component.VC.v143.x86.x64",
+    "Microsoft.VisualStudio.Component.VC.v143.ARM64",
     "Microsoft.VisualStudio.ComponentGroup.UWP.VC",
-    "Microsoft.VisualStudio.ComponentGroup.UWP.VC.v142",
+    "Microsoft.VisualStudio.ComponentGroup.UWP.VC.v143",
     "Microsoft.VisualStudio.Component.UWP.VC.ARM64"
   ]
 }
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 5a3860bf7c4..f3e0a6b0a89 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -81,7 +81,7 @@ When you hit "New Issue", select the type of issue closest to what you want to r
   Microsoft Windows [Version 10.0.18900.1001]
   ```
 
-* What tools and apps you're using (e.g. VS 2019, VSCode, etc.)
+* What tools and apps you're using (e.g. VS 2022, VSCode, etc.)
 * Don't assume we're experts in setting up YOUR environment and don't assume we are experts in `<your distro/tool of choice>`. Teach us to help you!
 * **We LOVE detailed repro steps!** What steps do we need to take to reproduce the issue? Assume we love to read repro steps. As much detail as you can stand is probably _barely_ enough detail for us!
 * If you're reporting a particular character/glyph not rendering correctly, the specific Unicode codepoint would be MOST welcome (e.g. U+1F4AF, U+4382)
diff --git a/README.md b/README.md
index b0e83a300cc..d2c7679aee1 100644
--- a/README.md
+++ b/README.md
@@ -175,7 +175,7 @@ While overhauling Windows Console, we modernized its codebase considerably,
 cleanly separating logical entities into modules and classes, introduced some
 key extensibility points, replaced several old, home-grown collections and
 containers with safer, more efficient [STL
-containers](https://docs.microsoft.com/en-us/cpp/standard-library/stl-containers?view=vs-2019),
+containers](https://docs.microsoft.com/en-us/cpp/standard-library/stl-containers?view=vs-2022),
 and made the code simpler and safer by using Microsoft's [Windows Implementation
 Libraries - WIL](https://github.com/Microsoft/wil).
 
@@ -291,14 +291,14 @@ If you would like to ask a question that you feel doesn't warrant an issue
   SDK](https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/)
   installed
 * You must have at least [VS
-  2019](https://visualstudio.microsoft.com/downloads/) installed
+  2022](https://visualstudio.microsoft.com/downloads/) installed
 * You must install the following Workloads via the VS Installer. Note: Opening
-  the solution in VS 2019 will [prompt you to install missing components
+  the solution in VS 2022 will [prompt you to install missing components
   automatically](https://devblogs.microsoft.com/setup/configure-visual-studio-across-your-organization-with-vsconfig/):
   * Desktop Development with C++
   * Universal Windows Platform Development
   * **The following Individual Components**
-    * C++ (v142) Universal Windows Platform Tools
+    * C++ (v143) Universal Windows Platform Tools
 * You must install the [.NET Framework Targeting Pack](https://docs.microsoft.com/dotnet/framework/install/guide-for-developers#to-install-the-net-framework-developer-pack-or-targeting-pack) to build test projects
 
 ## Building the Code


Test patch: