C++/CLI Description
Visual Studio 2022 defaults to 6.0 as the target framework for.NET Core project. The default target framework for.NET Frameworks projects is 4.7.2. The.NET Framework version selection is located on the configure new project page of create a project dialog. C++/CLI is not installed by default when installing a Visual Studio C++ workload. After Visual Studio has been installed, open Visual Studio Installer. Select the Windows Start menu and search for visual studio installer. Select the Modify button next to Visual Studio. Select the tab Individual components. Scroll down to the compilers and build tools section and select C++/CLI Support for v143 build Tools (Latest). Click modify to download the files and update Visual Studio. C++/CLI allows you to create C++ programs that can use native C++ types as well as.NET classes. C++/CLI can be used in console applications.