Error when i add class

“Failed to add class … . Failed to generate project files”

My system:

  1. Windows 8.1 x64
  2. Microsoft Visual Studio 2013 Proffesional
  3. Windows 8.1 SDK
  4. Unreal Engine 4.5.1

All updates are installed.

Why this error occur?

Error only when i add new class to empty project. In project with code all works fine.

can you explain what you are trying to do? Or how have you tried to add class?

How do you add them? inside visual studio or using file menu of editor?

I use file menu in UE
Problen when creating code for project without code and visual studio project.

I try to reinstall visual studio and creating code project was repaired, but not the add class to only blueprint project.

I’m not sure about it but have you compiled your engine source? if no give it a shot and compile your engine first, then try to add class to your new project.