Linker Tools Error LNK1252

Exports not supported for 'machine' target machine

Exports, for example with __declspec(dllexport), are not allowed on some /MACHINE types, for example CEE.