Assembly Element (Solution - Assemblies)
Applies to: SharePoint Foundation 2010
Specifies an assembly to include in the solution.
<Assembly
DeploymentTarget = "GlobalAssemblyCache" | "WebApplication"
Location = "Text">
<BindingRedirects>
...
</BindingRedirects>
<SafeControls>
...
</SafeControls>
<ClassResources>
...
</ClassResources>
</Assembly>
Attributes
Attribute |
Description |
---|---|
DeploymentTarget |
Optional Text. The preferred target of deployment of the assembly. The assembly is copied to the target specified by the DeploymentTarget attribute (for a Web application) or the global assembly cache (for a server farm). Possible values:
|
Location |
Required Text. The relative file path of the assembly. |
Child Elements
BindingRedirects Element (Solution), ClassResources, SafeControls |
Parent Elements
Example
For an example of how this element is used, see Solution Schema.