Assembly element (Solution - CodeAccessSecurity)

Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013

Specifies an assembly in a solution's code access security policy.

<Assembly
  Name = "Text"
  PublicKeyBlob = "Text"
  Version = "Text">
</Assembly>

Elements and attributes

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description
Name
Optional Text. The name of the assembly.
PublicKeyBlob
Optional Text. The assembly's public key, in binary format.
Version
Optional Text. The version of the assembly.

Child elements

None

Parent elements

Example

For an example of how this element is used, see Solution schema.