Summary
Loads an assembly given its file name or path.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Functions - Containing Type
- AssemblyFunctions
Syntax
[Function("load-from-file")]
public Assembly LoadFromFile(string assemblyFile)
Attributes
Type | Description |
---|---|
FunctionAttribute | Indicates that the method should be exposed as a function in NAnt build files. |
Parameters
Name | Type | Description |
---|---|---|
assemblyFile | string | The name or path of the file that contains the manifest of the assembly. |
Return Value
Type | Description |
---|---|
Assembly | The loaded assembly. |