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

I hope you need not to rebuild the project ?