Today I tried adding a file directly to the solution (just a simple header file with enum defitions) and at first I got a compile error about not finding .h file, because the file was added to IntermediateFiles by default, for whatever reason. Ok,.so I moved the file from the intermediate files to the correct location, where the other files are, and now the missing .h file error was gone, but the build failed with an error from Microsoft.Make.Targets. MSB3073, (Other Compilation Error).
Then I tried to build using UE4 which gave me a bit more info on the error - something like “unparsed class ‘Class’ found while validating entries for dependson…”
What do I need to do to get the files added directly via VS solution ?
This could also be due to the fact that I didn’t add something I need in my enum definition ?
Here’s my enum header :
UENUM(BlueprintType) //“BlueprintType” is essential to include
enum class EWeaponType : uint8
I am including Class.h header here to get the UMETA and other tags and coincidentally “Class” is also mentioned in that error above:
“unparsed class ‘Class’ found while validating entries for dependson…”