'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.
It seems that the problem is due to the inability to load the package: 'CompatibilityToolPackage' correctly.
Solution 1:[1]
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:
- Uninstall all Intel oneAPI components
- Uninstall Visual Studio 2022 v17.2 completely
- Find and download Visual Studio 2022 v17.1 or older. Links provided below
- Install Visual Studio 2022 v17.1 or older. See System Requirements, Visual Studio
- Install Intel oneAPI Toolkit(s) or Intel Fortran component
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Ron L |


