Why do i have to take extra step when creating header file in vs2019?

i’m using visual studio 2019 right now.
when i tried to create HiddenWord.h, all sort of error appeared.
I saw the topic named ‘Weird Errors in Header File’ and it looks like he had exact same problem.
but unlike him, even after i moved my HiddenWord.h from intermediate folder to BullCowGame folder, nothing changed.
after searching internet and all sort of place, i tried


and it worked.

After i went through hell, i want to understand why do i have to take all these steps to add single headerfile in unreal, and how to simply these steps.

After moving it to the correct place did you regenerate the project files? Moving it on disk isn’t going to update Visual Studio’s solution file.

Privacy & Terms