Using Assembly Attributes
The word assembly is used in several contexts. There is the Assembly class that represents an instance of a compiled assembly. There is the notion of a compiled assembly that contains metadata and IL, and there is the Assembly keyword used to demark assembly-level attributes. You will most commonly find assembly-level attributes in a file named AssemblyInfo.vb, although you may find assembly-level attributes in any module.
Two things are required for assembly-level attributes. The first is that when the attribute is defined, it must have the AttributeTargets.All or AttributeTargets.Assembly enumerated value in the list of arguments used to initialize the AttributeUsageAttribute. The second requirement is that you must ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access