the question is as stated in the topic…you have an old, deprecated Headerfile you want to remove from the codebase, how could you do it without breaking the project? I’ve spend a couple hours on trial and error as well as research on the Answer Hub, but I still can’t kill the header without causing a compiler meltdown.
Here is what I did:
- removed the Header in VS (worked but the header is still in the codebase)
- deleted the Header in explorer -> compiler error
- deleted Header and the generated Header (Explorer) -> compiler Error
- deleted the content in the binary and/ or Intermediate and/ or saved folder -> can’t even load the code in VS anymore
Is there a clean way to get rid of outdated headers without breaking links in the Unreal Header Tool?
Thanks in advance for any hint that can help me to remove this header WITHOUT making a clean project and copy/ paste the Content and Source Folder? It would require quite some work to set up everything correctly again since the game is pretty big.