Rediger

Del via


Linker Tools Error LNK1302

only support linking safe .netmodules; unable to link file .netmodule

A .netmodule (compiled with /LN) was passed to the linker in a user attempt to invoke MSIL linking. A C++ module is valid for MSIL linking if it is compiled with /clr:safe.

To correct this error, compile with /clr:safe to enable MSIL linking, or pass the /clr or /clr:pure .obj file to the linker instead of the module.

For more information, see