I am not sure if this (annoying) bug is on the Intel side or the Microsoft side... I am posting this here for the Intel team to look at it.
- Open Visual Studio.
- Go to Tools, Options, Intel Compilers and Libraries, Visual Fortran.
- Under Free Format Extensions, in Headers, type *.inc (for instance).
- Click OK.
- Still in Visual Studio, open a Fortran project.
- In the Solution Explorer, "Add" a "New Item...". Type the name of a file with the extension selected in step 3.
Now, every time you go in Solution Explorer and edit the name of that file, Visual Studio will hang and crash.
The workaround is to avoid using custom extensions for header files... which means that syntax highlighting is lost (clearly not ideal).
No hang or crash with oneAPI 2021.1.1 + VS2019 (16.7.6)
This is not exactly related to this issue but please see supported VS versions vs Compiler version: note https://software.intel.com/content/www/us/en/develop/articles/intel-compilers-compatibility-with-mic...