Intermittent: Multiple custom attributes of the same type found.
-
I have a mixed VB/C# solution. I have a class in VB which inherits from a C# base class. The derived VB class has an attribute applied to it which the constructor of the C# base class reads. However, when I build my code (I think incrementally) and run I get "Multiple custom attributes of the same type found." when I execute... DataDatabase lDatabaseAttr = (DataDatabase)Attribute.GetCustomAttribute(GetType(), typeof(DataDatabase), false); There is only one instance of this attribute, AFAIK. If I do a full rebuild of the solution the problem goes away, only to return when I next do a build incrementally. Suffice to say I have climbed the wall several times and now look to you guys for expert guidance on where I have gone wrong. Thanks in advance. Nursey