If you use Visual Studio more often than not, then you might be happy to know that a new version is ready and waiting for you to download and install. This version, as expected, is called Visual Studio 2022, and it brings a few new things to the table.
Visual Studio 2022 version 17 is now available
From what we’ve gathered, devenv.exe is now 64-bit only, so now you won’t be able to run it on x86 computers. If you haven’t upgraded your Windows computer just yet, then now is time.
Support for Azure Cloud Service
According to Microsoft, the new version of Visual Studio now supports the classic Azure Cloud Service, but not only that, but Azure Cloud Service (extended support) projects are now part of the support list.
An updated version of CMake
Remember CMake? If it’s something you use a lot, then guess what? It has been upgraded to version 3.21. If you weren’t aware, CMake was originally released alongside the original version of Visual Studio.
Support for buildPresets.targets: Good news for developers. The buildPresets.targets option via CMakePresets.json is now part of the package. If you are creating CMake projects, then using buildPresets.targets will allow you to create subset of targets.
Here are some additional additions found in the new version of Visual Studio 2022 via Microsoft:
- The IntelliSense Code Linter for C++ is now on by default, providing instant as-you-type suggestions and fix suggestions for common code defects.
- Support for libfuzzer under the switch -fsanitize=fuzzer.
- We have improved null pointer dereference detection in our code analysis tooling.
- Code analysis now enforces that return values of functions annotated with _Check_return_ or _Must_inspect_result_ must be checked.
- Added support for gsl::not_null to code analysis.
- Updated to NDK r21 LTS in C++ Mobile Development workload.
- C++ AMP headers are now deprecated. Including <amp.h> in a C++ project will generate build errors. To silence the errors, define _SILENCE_AMP_DEPRECATION_WARNINGS.