logo

class

build::CompileCs

sys::Obj
  build::Task
    build::CompileCs

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

Slots

cscExe

File cscExe

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

libs

File[] libs

List of dll libraries to link in

make

new make(BuildScript script)

Initialize the .NET environment fields for csc.exe.

netHomeDir

File netHomeDir

Home directory for .NET installation configured via Sys.env["fan.build.netHome"]

output

File output

Output file created by the compiler.

run

override Void run()

Run the csc task

src

File[] src

List of source files or directories to compile

targetType

Str targetType

Output target type