Base class includes the field 'X', but its type (System.Web.UI.ScriptManager) is not compatible with the type of control (System.Web.UI.ScriptManager)

后端 未结 12 1388
渐次进展
渐次进展 2021-01-03 21:16

The full error is

The base class includes the field \'ScriptManager1\', but its type (System.Web.UI.ScriptManager) is not compatible with the type of

12条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-03 22:08

    I managed to fix it by adding this to web.config:

    
        
            
                
                    
            
            
                
                
            
        
    
    

    I believe it forces the .net runtime to use the new versions of those assemblies.

提交回复
热议问题