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

Source

libs

File[] libs

List of dll libraries to link in

Source

make

new make(BuildScript script)

Initialize the .NET environment fields for csc.exe.

Source

netHomeDir

File netHomeDir

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

Source

output

File output

Output file created by the compiler.

Source

run

override Void run()

Run the csc task

Source

src

File[] src := File[,]

List of source files or directories to compile

Source

targetType

Str targetType

Output target type

Source