The process of installing, configuring, and customizing Visual Studio to support development workflows across languages, platforms, and workloads.
To support .net 8, vs 2022 must be version 17.8 or later. Be sure you have upgraded to the latest version.
note: .net 8 support ends in November. You will to upgrade to VS 2026 to migrate to .net 10. So your best option is to upgrade to vs 2026.