Manifest: Assembly Component

Return to previous page

  • 4/7/2015
  • 3511 Views

Comments

3511 Views

Manifest: Assembly Component

Last updated 5 years ago

Comments

Common

(Enter the content of this article below)

Advanced

 
The assembly component is used to install assemblies (*.dll) into the main \bin folder of the installation.

Like all components which inherit from the file component, the Assembly component includes the ability to list files which have common elements.

Please note that an assembly will only be copied/installed if:
a/ it is not already installed, or
b/ a new version is specified

Elements and attributes

<component type="Assembly">

<assemblies>
<assembly [Action="UnRegister"]>
<path></path>
<name></name>
<version></version>
</assembly>
</assemblies>
</component>

  • path: the folder where the file will be copied. Usually will be \bin or \bin\providers in case of provider dll
  • name: the name of the file
  • version: specifies the version of the dll in the format major.minor.build.revision. If a version is not specified it will take the version of the package which can lead to unexpected errors since the package version can be different than the dll version. So it is recommended to always specify the appropriate version for each dll.
  • Action="Unregister": including this option will cause the file to be deleted and the assembly to be unregistered from the system. The is not taken into consideration when unregistering, just the file name.

Sample

<component type="Assembly">

<assemblies>
<assembly>
<path>bin</path>
<name>Telerik.Web.UI.dll</name>
<version>2010.02.0713.35</version>
</assembly>
</assemblies>
</component>

References

Contents
No sections defined

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out