AssemblyDiscovery GetAssemblies Method Kentico 8.1 API Reference
Returns an enumerable collection of application assemblies.

Namespace: CMS.Core
Assembly: CMS.Core (in CMS.Core.dll) Version: 8.0.0.0 (8.1.5347.20411)

Return Value

Type: OnlineIEnumerable OnlineAssembly 
An enumerable collection of application assemblies.
Remarks

The discovery process looks for assemblies in the directories that the assembly resolver probes. By default, all the application assemblies are returned, but there are exceptions.
  1. If the OnlyDiscoverable property is set to true, assemblies without the AssemblyDiscoverableAttribute attribute are excluded from discovery.
  2. If there is a file with the "exclude" extension, for example MyCustomAssembly.dll.exclude, the MyCustomAssembly.dll is excluded from discovery.
  3. Assemblies from the GAC are always excluded from discovery.
See Also