Does anyone know how to set the option to compile the *.rc file when building a windows application within VS2017 and link it to the fortran object files? My set up of VS2017 is doing everything but compiling the rc file.
The usual cause for this is the wrong association for .rc files. Try this:
- Click on the Windows Search menu and type in regedit . When Registry Editor appears, click it to open.
- Find HKEY_CLASSES_ROOT > .rc
- Look at the value of (Default). It should be something like "VisualStudio.rc.14.0" (the number indicates the VS version. If it is something else, such as Text File, right click on the .rc in the left column, then click Delete, exit the registry editor and do a Repair of Visual Studio (and maybe Intel Parallel Studio). This should fix it.
If it is already a correct value, you might try deleting and doing the repair anyway.