Dear All,
I have upgraded my website from Beta1 to Beta2. Unfortunately, I am not able to compile it under Beta2. I have searched the web and this forum but could not find any answer that helped. So here is the error message I am getting:
c:\windows\microsoft.net\framework\v2.0.50215\Temporary ASP.NET Files\.....\uujxbkvb.18.cs(196): error CS0115: 'ASP.Default_aspx.FrameworkInitialize()': no suitable method found to override (file, line, column, project is empty)
ASP.Default_aspx.FrameworkInitialize(): no suitable method found to override, File=uujxbkvb.18.cs, Line=196
ASP.Default_aspx.GetTypeHashCode(): no suitable method found to override, File=uujxbkvb.18.cs, Line=204
I have made sure that
1) Content pages are derived from System.Web.UI.Page
2) Master page is derived from System.Web.UI.MasterPage
3) Change CompileWith to Codefile
4) Change ClassName to Inherits
Regarding 4) I am not using any namespaces so I am using exactly the same value for Inherits as I did for ClassName
A typical content file looks like this:
<%
@ Page Language="C#" MasterPageFile="~/MasterPage.master" CodeFile="~/MyFolder/Default.aspx.cs" Inherits="Default_aspx" Title="Title" %>
MyFolder is a physical folder in the directory where my project resides.
Any idea what is going on here and how that could be fixed?
Regards,
Rob