# 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(s) of input files (default *.cs) .CompilerInputExcludePath ; (optional) Path(s) to exclude from compilation .CompilerInputExcludedFiles ; (optional) File(s) to exclude from compilation (partial, root-relative of full path) .CompilerReferences ; (optional) References for the assembly ; Additional options .PreBuildDependencies ; (optional) Force targets to be built before this assembly (Rarely needed, ; but useful when an assembly relies on generated code). }

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'.