I finally fixed this. The assemble command switches for the project were missing, I'd lost the /coff and /Cp options somehow. I can't remember messing with that, I'd have no reason to touch those options normally, certainly not to remove anything.
Very very strange, especially with the corruption of the MASM.vas file for no reason.