I tried the obvious routes to get it to recompile correctly, but in the end I had to do a clean build.