Compiler Error C3131
project must have a 'module' attribute with a 'name' property
The module attribute must have a name parameter.
The following sample generates C3131:
// C3131.cpp
[emitidl];
[module]; // C3131
// try the following line instead
// [module (name="MyLib")];
[public]
typedef long int LongInt;
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