How to solve the problem of loading Fortran projects in Microsoft Visual Studio 2022?

After installing the version 17.2, I can no longer load my Fortran projects into Microsoft Visual studio. When I open the .sln file, I get the two following errors.

enter image description here

enter image description here

It seems that the problem is due to the inability to load the package: 'CompatibilityToolPackage' correctly.

My ActivityLog.xml file


  • I found this message from Intel about the problem:


    Basically, Visual Studio 17.2 does not work with Intel Fortran. There is no workaround. You have to back install to a previous version of Visual Studio. The document gives instructions on how, and I have copied and pasted them here:

    1. Uninstall all Intel oneAPI components
    2. Uninstall Visual Studio 2022 v17.2 completely
    3. Find and download Visual Studio 2022 v17.1 or older. Links provided below
    4. Install Visual Studio 2022 v17.1 or older. See System Requirements, Visual Studio
    5. Install Intel oneAPI Toolkit(s) or Intel Fortran component