NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Error C3140

cannot have multiple 'module' attributes in the same compilation unit

The module attribute can only be defined once per project. For example, the following sample will generate C3140:

[emitidl];
[module(name=MyLibrary)];
[module(name=MyLibrary2)];   // C3140