[215] Ambiguous/duplicate class references with old-style .ascx file Follow
..ascx files have been showing up with a duplicate class definition error
for a couple of versions now. Resharper is picking up the .ascx and the
.ascx.cs as two separate instances of the class.
.NET 2.0 allows the "old style" to co-exist with the newer style of
.ascx. If the codebehind class is partial, it seems to use the new
style and creates a new partial class. If the codebehind class is not
partial, it uses the inheritance model instead.
Is this a known issue?
Matt.
Please sign in to leave a comment.
Matthew,
Are You able to reproduce the problem with small solution? It would help us
a lot.
--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
See the attached .zip file for a reproduction.
Sergey V. Coox (JetBrains) wrote:
Attachment(s):
DuplicateASCX.zip