Delen via


Assembly or Module attribute statements must precede any declarations in a file

Global attributes must be declared at the top of a source file, after Option and Imports statements, but before any other statements.

Error ID: BC30637

To correct this error

  • Place global attributes, such as <Module:> and <Assembly:> at the top of your source file.

See Also

Concepts

Global Attributes in Visual Basic

Other Resources

Attributes in Visual Basic