ComponentUtilities.AssemblyFolder Method
Definition
- Namespace
- Sandcastle.Core
- Assembly
- Sandcastle.Core.dll
This is used to get the physical location of the specified assembly
public static string AssemblyFolder(Assembly assembly)
Parameters
assemblyAssemblyThe assembly for which to get the physical location (the currently executing (calling) assembly if null).
Returns
- 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.