A compilation Error every time a class is just added by the class wizard

I was able to recompile by closing the project and reopening it, there was a default checker that prompted to recompile when re-opened