It looks like the master page absolutely needs a vb code behind file. I was trying to run some simple examples without using Visual Studio. My installation of Visual Studio 2005 only had some SQL Server 2005 project types so I had to go through the installation again to get Visual C# 2005 and Visual Basic 2005 and Visual Web Developer 2005 installed to give me the ASP.NET Web Site project option.
Now my page directive is:
< %@ Master Language="VB" CodeFile="first.master.vb" Inherits="first" %>
And the code behind file contains very little code:
Partial Class first
Inherits System.Web.UI.MasterPage
End Class
One Response to More ASP.NET 2.0 Exploration