Fatal Error C1190
managed targeted code requires a '/clr' option
You are using CLR constructs but you did not specify /clr.
For more information, see /clr (Common Language Runtime Compilation).
The following sample generates C1190:
// C1190.cpp
// compile with: /c
__gc class A {}; // C1190
ref class A {};
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