This only occurs in my project. I created a blank project, added a custom class, and I did not get the error. I had a bunch of different ones (unresolved externals) when changing to Development from Development Editor in the blank project, but no error about the generated files.