I would like to centralize partial views and controls for our corporate apps, but when I try and reference a partial view hosted in a different virtual directory (iis6), it throws the error:
"The virtual path '/CommonWeb/views/_Grid.cshtml' maps to another application, which is not allowed."
Is there some way to allow this functionality easily?
Take a look at the RazorGenerator project, which allows you to compile your views into a library, which you could then reference from multiple MVC projects.