class

CompileCs

class CompileCs : Task

Run the C# compiler to produce an exe or dll.

constructors make

Initialize the .NET environment fields for csc.exe

fields output

Output file created by the compiler

src

List of source files or directories to compile

targetType

Output target type

dotnetHomeDir

Home directory for .NET installation configured via config prop

libs

List of dll libraries to link in

cscExe

C# compiler executable

methods run

Run the csc task

cscExe File : cscExe

C# compiler executable: {dotnetHomeDir}/csc.exe

dotnetHomeDir File? : dotnetHomeDir

Home directory for .NET installation configured via config prop

libs File[]? : libs

List of dll libraries to link in

make new make(BuildScript script)

Initialize the .NET environment fields for csc.exe.

output File? : output

Output file created by the compiler.

run virtual Void run()

Run the csc task

src File[] : src

List of source files or directories to compile

targetType Str? : targetType

Output target type

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST