"Dear Compiler, I want you to completely ignore any pre-built pdb or obj or dll or exe files and rebuild as if from a clean startup repository."
"Okay... sorry, got an error I can't convert datetime to datetimeoffset"
me: closes dev environment, manually deletes all pdb, obj, dll, and exe files.
me: reopens dev environment
"Dear Compiler, please rebuild"
"Okay.... here you go"
🤦♀️ 🤦♂️
@XSGeek Back in the days of yore there used to be a "clean" target for builders that would delete all the build artifacts. Is that no longer a thing?
@XSGeek Hmmm. There’s a difference between ignore and remove. (I know, no duh!)
“Make clean” literally deleted all the built and intermediate objects. (The makefile was just a fancy formatted shell script after all.)
The compiler and linker had to ignore things because they couldn’t see what wasn’t there.
I know that doesn’t solve your problem.
@XSGeek @sfleetucker I have to do this regularly with UE5 and VS. If something is wonky, time to start deleting entire directories.
@XSGeek God. Don’t make me remember malloc and free. I will cry.
@XSGeek Hey, it's just trying to save you cache... :)