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 1275
渐次进展
渐次进展 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:07

    We had this same problem when precompiling our application from the command line using the "Application is updatable" flag:

    aspnet_compiler.exe -u
    

    removing the -u flag solved this issue. Don't ask me why!

提交回复
热议问题