Fan

 

class

build::CompileCs

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

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

Slots

cscExeSource

File cscExe

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

libsSource

File[]? libs

List of dll libraries to link in

makeSource

new make(BuildScript script)

Initialize the .NET environment fields for csc.exe.

netHomeDirSource

File netHomeDir

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

outputSource

File? output

Output file created by the compiler.

runSource

override Void run()

Overrides build::Task.run

Run the csc task

srcSource

File[] src := File[,]

List of source files or directories to compile

targetTypeSource

Str? targetType

Output target type