Visual C++ Compiler Error C3735

Message Text

'attribute': managed only attribute


The cited attribute, which actually must be the built-in attribute attribute, is valid only in managed target code.

This error is effectively fatal: it is followed by fatal error C1190 to direct that the code requires #using <mscorlib.dll> and must be compiled with the /clr option.