How to remove a class from Visual Studio project?

Just removing the files from the VS project won’t work. Maybe it’s because UE provides so much custom compiling tools and helpers etc… however it reads files based on file/folder structure.

To remove a class

  • Either remove the class files entirely from project directory
  • Or rename file extensions to e.g. .cpp_ and .h_. This will make sure compiler ignores them, too.