R# 7.0.1/VS2010 - ASP.NET ContentPlaceHolder in head shows as error.

If I place an asp:ContentPlaceHolder tag in a head tag, R# is showing the ID attribute as an error - Can not resolve symbol 'id' - where 'id' is the name in the ID attribute.  This is in the master page.  On the content pages, the Content tag ContentPlaceHolderID attribute shows the error  - Can not resolve content placeholder 'id'.  This is in a standard ASP.NET 4.0 web application.

2 comments
Comment actions Permalink

On 30.08.2012 17:01, David Williams wrote:

If I place an asp:ContentPlaceHolder tag in a head tag, R# is showing the ID attribute as an error - Can not resolve symbol 'id' - where 'id' is the name in the ID attribute.  This is in the master page.  On the content pages, the Content tag ContentPlaceHolderID attribute shows the error  - Can not resolve content placeholder 'id'.  This is in a standard ASP.NET 4.0 web application.


David, I can't repeat your problem.
Default project with ContentPlaceHolder section in head tag is fine.
Can you, please, provide example project?


0
Comment actions Permalink

It appears that for whatever reason, the .designer.cs file did not get re-generated correctly leading to the error.  Sorry for the incorrect information.

0

Please sign in to leave a comment.