I upgraded to Asp.net MVC 3 RC last night and I followed the instructions on the release notes. However, normal Aspx pages no longer work.

For example, when I go to the root (Home/Index), the following error occurs:

The view at '~/Views/Home/Index.aspx' must derive from ViewPage, ViewPage<TModel>, ViewUserControl, or ViewUserControl<TModel>.

This is using a barely modified version of the original MVC Home/Index view. The code is:

<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="indexTitle" ContentPlaceHolderID="TitleContent" runat="server">
    Home Page
</asp:Content>

<asp:Content ID="indexContent" ContentPlaceHolderID="MainContent" runat="server">
    <h2><%= Html.Encode(ViewData["Message"]) %></h2>
    <p>
        <%= Html.ActionLink("Project List", "List", "Project", new { area = "writing" }, null) %>
    </p>
</asp:Content>

It is setup to inherit from ViewPage, so I'm not sure what the issue is.

The master page is unmodified from what MVC installs.

Any ideas?

Edit
Report