description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||
---|---|---|---|---|---|---|---|
Learn more about: Linker Tools Error LNK1245 |
Linker Tools Error LNK1245 |
11/04/2016 |
|
|
179c8165-ffbb-44cd-9f24-5250f29577cc |
invalid subsystem 'subsystem' specified; /SUBSYSTEM must be WINDOWS, WINDOWSCE, or CONSOLE
/clr was used to compile the object and one of the following conditions was true:
-
A custom entry point was defined (/ENTRY), such that, the linker could not infer a subsystem.
-
A value was passed to the /SUBSYSTEM linker option that is not valid for /clr objects.
For both situations, the resolution is to specify a valid value to the /SUBSYSTEM linker option.