Security attribute '<attributename>' cannot be applied to a module

The common language runtime does not accept the security attribute on a module.

Error ID: BC30131

To correct this error

  • Remove the attribute from the declaration.

See Also

Tasks

How to: Define Your Own Attributes