The MSBuild extension is trying to pre-compile *all* .cshtml files it can find under the project root, instead of just the ones that are in the project. This is a bit of a problem when working in a hybrid app where a CMS such as Umbraco is managing it's own razor templates in the same web application.<br /><br />(e.g. App_Data\TEMP\Razor folder is a cache folder used by umbraco and is not part of my MVC project)
↧