Three Common Items when updating ASP.NET Whidbey code from Beta 1 to Beta2

There are three things that I have found that I need to touch when I updated my ASP.NET code from Beta 1 to Beta 2.

  • Add  the inherit command to the code behind page of an ASP.NET Page so that a partial class inherits from the Page object.
  • Add  the inherit command to the code behind page of an ASP.NET Master Page so that a partial class inherits from the MasterPage object.
  • .Aspx pages should be updated so that the CompileWith/ClassName attributes use the CodeFile/Inherits attributes. 

I found that when I didn't do these three things, I got an error message stating "No suitable method to override." and several other errors in some temporary files.

Wally

No Comments