Assembly custom attributes can only be used in the global scope.
To correct this error
-
Make sure that assembly custom attributes are used in the global scope.
See Also
Concepts
Scope of Variables and Constants
Assembly custom attributes can only be used in the global scope.
Make sure that assembly custom attributes are used in the global scope.