
If you have Administrator privilege, are comfortable with editing Visual Studio configuration files, and you know how to open a Command Prompt window with Administrator Privilege, you can use the Microsoft method to revert VS 2022 17.2 to “Use the legacy native solution and build services (requires restart)”. Does not affect any compilers in VS 2019 and older versions of Visual Studio.
Any older compiler versions than those listed above running under Visual Studio 2022. Compilers: IFORT and IFX versions in oneAPI 2022.1.x ( ifx v2022.0.x and ifort v2021.5.0 ) and OLDER. VS 2022 only version 17.2 and newer (not VS 2019 or older). Intel Fortran compiler Integrations into Visual Studio 2022 version 17.2 and newer Debugger, multiple functions no longer work - breakpoints, examining variables, etc. Project builds fail for existing and new Fortran projects. ConsoleFortran.vfproj : error : Unable to cast COM object of type 'System._ComObject' to interface type '.IVsUpdateSolutionEvents'. Be unable to debug existing executables. NO LONGER BE ABLE TO CREATE NEW PROJECTS. NO LONGER BE ABLE TO BUILD EXISTING FORTRAN PROJECTS with IFORT or IFX.
This applies VS 2022 Version 17.2 and newer versions only, not older versions.
These updates to VS 2022, the 17.2 and newer updates, break the Intel Fortran Integrations into Visual Studio. We hope to be able to work with VS 2022 v17.2 and newer in a future release later in 2022. This is a non-trivial effort underway with our Integrations team. This requires an extensive re-write and testing of the Fortran Integrations into Visual Studio. This API change impacts the function calls the Intel Fortran Integrations make into Visual Studio for Fortran project support. Microsoft changed the API for VS 2022 beginning with Version 17.2. Version 17.2 version was released on May 10, 2022. Microsoft* Visual Studio 2022 (VS 2022) Version 17.2 (including preview releases) and newer releases do not integrate with the Intel® Fortran Compilers.