Special Symbols cause invalid VS include paths

Some symbols, such as (), [] and # seem to mess with how the Visual Studio solution and project gets built. While compiling will still work in the engine itself, opening the engine headers themselves will not work - Visual Studio will then fail to find them.

Example:

  • Project Path: D:\Projects[DDS]\My Project\myproject.uproject
  • Visual Studio Header Path: D:\Projects[DDS]\Program Files (x86)\Epic Games\4.13\Engines\Source\

Hey -

I created a folder with () in the name and was still able to create a new project in this folder as well as compile the code for the project from inside Visual Studio. Can you explain what you’re doing and the resulting outcome? If you are getting a compile error, please provide the exact error message for additional information.

Hey ,

I’ve only managed to randomly reproduce this. When adding a new C++ Class (that was the action I did before) it seems to do that. I’m not sure if it’s my Visual Studio installation or something interfering with project file generation.

After deleting the Intermediate folder and regenerating it I have been unable to reproduce this. Possibly a corrupt file in that directory?