Resource Compiler Fatal Error RC1015


For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

cannot open include file 'filename'

The given include file does not exist, could not be opened, or was not found.

Make sure that the environment settings are valid and that the correct path for the file is specified. Ensure that sufficient file handles are available to the Resource Compiler. If the file is on a network drive, make sure that you have permissions to open the file.

RC1015 can occur even if the include file exists in a directory specified as an Additional Include Directory in the Configuration Properties -> Resources -> General property page; specify the complete path to the include file.

For more information, see Knowledge Base article Q326987 : RC1015 Error When Using Resource View If the Include Path is Too Long.