# CSAssembly

CSAssembly

Builds one or more files (typically .cs files) into an assembly (a dll or executable).

CSAssembly( alias ) ; (optional) Alias { .Compiler ; Path to the C# compiler .CompilerOptions ; Options to pass to the compiler .CompilerOutput ; Output file to be generated .CompilerInputPath ; Path to include files from .CompilerInputPathRecurse ; (optional) Whether to recurse into sub-dirs (default true) .CompilerInputPattern ; (optional) Pattern of input files (default *.cs) .CompilerInputExcludePath ; (optional) Path(s) to exclude from compilation .CompilerReferences ; (optional) References for the assembly }

Build-Time Substitutions

- CompilerOptions

- %1 - Input file(s) for the compilation, as specified by the various Input parameters.
- %2 - Output assembly as specified by 'CompilerOutput'.
- %3 - Additional references as specified by 'CompilerReferences'.