Ok this is a new one to me, I fixed the environment but... But now Im having this really strange one...

When I do a fresh build after a clean. I get a failed build warning. But the build was actually successful, and a bin is created.
If I run the build again. It builds with no errors or fails.
Like I say, this is a strange one.
Sloeber app, Stable.