ComponentUtilitiesAssemblyFolder Method

This is used to get the physical location of the specified assembly

Definition

Namespace: Sandcastle.Core
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2024.12.21.0
public static string AssemblyFolder(
	Assembly assembly
)

Parameters

assembly  Assembly
The assembly for which to get the physical location (the currently executing (calling) assembly if null).

Return Value

String
This returns the actual location of the assembly, where it was found versus where it is executing from, which may be different if shadow copied. This is required in order to find supporting files which will not be present in the shadow copied location.

See Also