I also tested this in Visual Studio 2012 and get the same result. It only occurs when working on the Orchard.Core project; when working on any other .cshtml file in the other projects in the solution I do not get the errors.