ASP.NET Custom Control - Unknown server tag

前端 未结 5 1726
自闭症患者
自闭症患者 2020-12-15 03:00

I\'ve made a custom control that inherits from a Literal control. When I try and use my control on a page a parsing error is thrown. I\'ve added this to my web.config

<
5条回答
  •  自闭症患者
    2020-12-15 03:47

    In my case the application was running in local mode, when publishing got the same error from user control tag.

    Upon commenting the user control tag, noticed a path error in another place. Upon fixing the other issue and uncommenting the user control tag, it worked. Seems error displayed is un related.

提交回复
热议问题