Assembly Element (Assemblies)
The document is archived and information here might be outdated

Assembly Element (Solution - Assemblies)

Windows SharePoint Services 3

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Specifies an assembly to include in the solution.


<Assembly
  DeploymentTarget = "GlobalAssemblyCache" | "WebApplication"
  Location = "Text">
  <SafeControls>
    ...
  </SafeControls>
  <ClassResources>
    ...
  </ClassResources>
</Assembly>

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:

GlobalAssemblyCache   If the assembly is a farm feature, it is copied to the global assembly cache.

WebApplication   If the assembly is a Web application feature, it is copied to the virtual server bin directory.

Location

Required Text. The relative file path of the assembly.

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

Microsoft.Win32.RegistryKey#4
Show:
© 2016 Microsoft