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 C3746

'attribute': only custom attributes may be used on assemblies or modules

An attribute block was badly formed. See Using Global Attributes in Managed Extensions for C++.

The following sample generates C3746:

#using <mscorlib.dll>
using namespace System;

[ assembly::module(name="xx") ];   // C3746
// try the following line instead
// [ module(name="xx") ];

void main() {
}