Linker Tools Error LNK1245
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for