This documentation is archived and is not being maintained.

Compiler Error CS3013

Added module is not CLS-compliant, or is missing CLSCompliant attribute

A module that was compiled with the /target:module compiler option was added to a compilation with /addmodule. However, the module's compliance with the Common Language Specification (CLS) does not agree with the CLS state of the current compilation.

CLS compliance is indicated with the module attribute. For example, [module:CLSCompliant(true)] indicates that the module is CLS compliant, and [module:CLSCompliant(false)] indicates that the module is not CLS compliant. The default is [module:CLSCompliant(false)].

See Also

What Is the Common Language Specification

Show: