DotNetNuke Wiki


Manifest: Assembly Component

Modified on 2012/01/30 07:35 PM by cathal Categorized as Manifest
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»

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.