Resource Compiler Fatal Error RC1021


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on

The latest version of this topic can be found at Resource Compiler Fatal Error RC1021.

invalid preprocessor command 'string'

The characters following the number sign (#) did not form a valid preprocessor directive.

The number sign cannot be used as the first character in an identifier.