Export (0) Print
Expand All
Expand Minimize

Compiler Error C3453

Error Message

'attribute': attribute not applied because qualifier 'assembly' did not match

Assembly or module level attributes can only be specified as stand-alone instructions.

Example

The following sample generates C3453.

// C3453.cpp
// compile with: /clr /c
[assembly:System::CLSCompliant(true)]   // C3453
// try the following line instead
// [assembly:System::CLSCompliant(true)];
ref class X {};

Community Additions

ADD
Show:
© 2014 Microsoft