views:

112

answers:

1

When using "Cleanup Code" function in ReSharper 5.0, code cleanup removes the aspx page line:

<%@ Register Assembly="Telerik.Web.UI" TagPrefix="telerik" Namespace="Telerik.Web.UI" %>

Seems like an issue within ReSharper 5.0. Anyone else having the same issue.

Thanks

A: 

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

Mike C