allowDefinition=’MachineToApplication’ error when publishing from VS2010 (but only after a previous build)

i had the same problem with my MVC apps. it was frustrating because i still wanted my views to be checked, so i didn’t want to turn off MvcBuildViews luckily i came across a post which gave me the answer. keep the MvcBuildViews as true, then you can add the following line underneath in your … Read more