开发者

Using ReSharper 5.0 in VS 2010 web application project with Telerik controls

开发者 https://www.devze.com 2022-12-29 16:20 出处:网络
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.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消