Failed to add the class "Foo" - Failed to automatically hot reload the module

Hi! I’ve been working with C++ recently, and in a barely worked-on project whenever I add a class I get that error. I managed to add one class beforehand, and it worked fine. It’s an originally code project.

For all you smart peoples:

Thanks! I appreciate the help!

Hey -

If this message comes up when adding code to a project it is likely do to something in the current code preventing it from compiling properly. The new class does get created and added to the project so if you open the solution in Visual Studio you should see it in the project source structure. Building in Visual Studio should provide a clearer message of why it’s unable to compile successfully.