'Microsoft.VisualBasic.ComClassAttribute' and '<attribute>' cannot both be applied to the same class
A COMClassAttribute attribute block is used in conjunction with an attribute that does not apply to COM objects. One possible cause is mixing .NET Framework and COM attributes.
Error ID: BC32501
To correct this error
- Remove either the COMClassAttribute attribute block or the attribute that does not apply to COM.
See Also
Concepts
Attributes Used in Visual Basic