UnrealHeaderTool was unable to load source file

OUTPUT VS2015:

1>------ Inizio compilazione: Progetto: MyProjectImperial, Configurazione: Development_Editor x64 ------
1>  Parsing headers for MyProjectImperialEditor
1>    Running UnrealHeaderTool "E:\My\MyUE4\MyProjectImperial\MyProjectImperial.uproject" "E:\My\MyUE4\MyProjectImperial\Intermediate\Build\Win64\MyProjectImperialEditor\Development\UnrealHeaderTool.manifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -rocket -installed
1>E:/My/MyUE4/MyProjectImperial/Source/MyProjectImperial/MyBlendSpace.h(1): error : UnrealHeaderTool was unable to load source file 'E:/My/MyUE4/MyProjectImperial/Source/MyProjectImperial/MyBlendSpace.h'
1>Error : Failed to generate code for MyProjectImperialEditor - error code: OtherCompilationError (5)
1>  UnrealHeaderTool failed for target 'MyProjectImperialEditor' (platform: Win64, module info: E:\My\MyUE4\MyProjectImperial\Intermediate\Build\Win64\MyProjectImperialEditor\Development\UnrealHeaderTool.manifest).
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(37,5): error MSB3073: uscita dal comando ""E:\My\MyUE4\Epic Games\4.10\Engine\Build\BatchFiles\Build.bat" MyProjectImperialEditor Win64 Development "E:\My\MyUE4\MyProjectImperial\MyProjectImperial.uproject" -rocket -waitmutex -2015" con codice -1.
========== Compilazione: 0 completate, 1 non riuscite, 0 aggiornate, 0 ignorate ==========

ERRORS LIST:
1)
Gravità	Codice	Descrizione	Progetto	File	Riga	Stato eliminazione
Errore		UnrealHeaderTool was unable to load source file 'E:/My/MyUE4/MyProjectImperial/Source/MyProjectImperial/MyBlendSpace.h'	MyProjectImperial	E:\My\MyUE4\MyProjectImperial\Source\MyProjectImperial\MyBlendSpace.h	1	

2)
Gravità	Codice	Descrizione	Progetto	File	Riga	Stato eliminazione
Errore	code	OtherCompilationError (5)	MyProjectImperial	E:\My\MyUE4\MyProjectImperial\Intermediate\ProjectFiles\Error	1	

3)
Gravità	Codice	Descrizione	Progetto	File	Riga	Stato eliminazione
Errore	MSB3073	uscita dal comando ""E:\My\MyUE4\Epic Games\4.10\Engine\Build\BatchFiles\Build.bat" MyProjectImperialEditor Win64 Development "E:\My\MyUE4\MyProjectImperial\MyProjectImperial.uproject" -rocket -waitmutex -2015" con codice -1.	MyProjectImperial	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets	37	

NOTE:
Before i create a class called MyBlendSpace, then vs2015 cant compile this class and i deleted the files by hand. Why this error? where do UE4 recall this header?

Thanks.

Hey frawe-

When you deleted the files for the class, did you do so through Visual Studio or from the project directory? After deleting the files, you also need to right-click on the .uproject file and select “Generate Visual Studio project files” so that VS updates and recognizes that the header/source files were removed from the project.

thanks a lot.