Linker Tools Error LNK1308

type module detected; unable to infer clr image type; use /CLRIMAGETYPE:type to link

Commonly, the linker will be able to infer the kind of CLR image it should create, based on the CLR types of the input modules. LNK1308 indicates that the linker was not able to do that, and that you must explicitly specify the kind of CLR image that the linker should create.

See /CLRIMAGETYPE (Specify Type of CLR Image) for more information.