[215] Ambiguous/duplicate class references with old-style .ascx file

..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.

2 comments
Comment actions Permalink

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!"


0
Comment actions Permalink

See the attached .zip file for a reproduction.

Sergey V. Coox (JetBrains) wrote:

Matthew,

Are You able to reproduce the problem with small solution? It would help us
a lot.




Attachment(s):
DuplicateASCX.zip
0

Please sign in to leave a comment.