The assembly directive identifies an assembly to be referenced. This enables you to use types within that assembly from code in the text template. Using the assembly directive is equivalent to using the Add Reference feature in Visual Studio.
In the following example, the directive name is assembly, the parameter name is name, and the parameter value is SomeLibrary.DLL:
<@ assembly name="SomeLibrary.DLL" #>
Note: |
|---|
The file name can include the relative path.
|