When using "Cleanup Code" function in ReSharper 5.0, code cleanup removes the aspx page line:
Seems like an issue within ReSharper 5.0. Anyone else 开发者_运维知识库having the same issue.
Thanks
Glynn,
I would check to see if the following line is in your web.config in the pages/controls section.
<add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" />
If so, then the <%@ Register %> is not necessary and Resharper is taking out the duplicate registration.
Mike
精彩评论