Had to remove and re-add system.web.webpages reference. Otherwise the view termcodes page and a few others failed.