编译ASP.NET时,提示请确保此代码文件中定义的类与“inherits属性匹配并且该类扩展的基类(例如Page 或UserControl)是正确的。”想起自己加过namespace,去掉后编译正常,但是我希望加入namespace,解决方式:在ASPX页面中的inherits后加入命名空间的名称,比如原来是inherits="video_index",命名空间为joymo,现在改成inherits="joymo.video_index"即可。

相关文章:

  • 2022-02-16
  • 2021-11-08
  • 2021-08-03
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-19
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
  • 2022-01-13
  • 2022-12-23
  • 2021-12-07
  • 2021-06-17
相关资源
相似解决方案