I would like to reuse *.aspx files in multiple ASP.Net MVC projects. Is this possible?
EDIT: Anthony\'s suggestion of using version control system to share common files
I normally solve this sort of issue via source code control. Most systems (even VSS) allow you to share a file across multiple projects.
One idea you could try would be to:
So in the projects that you wanted to use the shared Views, the controller actions could return something like
public ActionResult Shared()
{
return new EmbeddedViewResult("SharedLib.SharedPage");
}
I've done something similar with WebForms pages, so it should be possible.