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 1271
渐次进展
渐次进展 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:04

    You can also solve this problem in the .vbproj file (in my case). Check for these entries:

    
      3.5
    
    
      3.5
    
    

    This seems to also force the use of the 3.5 version DLLs.

提交回复
热议问题