"must be convertible to System.Web.UI.Page" using custom base page in Visual Studio 2010
        Posted  
        
            by Payton Byrd
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Payton Byrd
        
        
        
        Published on 2010-05-19T19:23:36Z
        Indexed on 
            2010/05/19
            19:30 UTC
        
        
        Read the original article
        Hit count: 1890
        
I have a HUGE problem. We just converted our large project to a Visual Studio 2010 solution, but maintained .Net 3.5 targets. This seemed to go swimmingly, almost too easy.
Today I just encountered a huge problem. When we add a new asp.net tag to a page the designer class is not being updated. I looked around and noticed that the type specified in the Page's Inherits attribute was underlined in red. Hovering over that gives the error "must be convertible to System.Web.UI.Page". Obviously the designer isn't casting the page correctly and it's because we are using a custom base page, just as we had been with no problems in VS 2008.
Has anyone else encountered this problem? If so, what's the solution. This is a show-stopper for us to use VS 2010 (and lots of egg on our faces for moving to it in the first place).
© Stack Overflow or respective owner