error LNK2022: metadata operation failed (80131195) : Custom attributes are not consistent: (0x0c00007d).
This is caused by specifying a managed attribute on the implementation of a C++/CLI function (i.e .cpp file), but not on the definition (i.e .h file).
Change your code so just the header file contains the attribute.
"Custom attributes are not consistent!"
1 Comment -
Thanks. This solved my error
10 July 2013 at 12:31