Why can't I compile code in the editor when it will compile in VS?

Oh, I’m sorry for the troubles