Is it possible to keep my existing .master page and have it used with a new ASP.NET MVC 3 Razor view? I tried this:
@{
LayoutPage = "~/Views/Shared/Site.master";
}
And it gives me this error message:
The file '~/Views/Shared/Site.master' could not be rendered, because it does not exist or is not a valid page.
See Question&Answers more detail:os