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: {dotnetHomeDir}/csc.exe

dotnetHomeDirSource

File? dotnetHomeDir

Home directory for .NET installation configured via @buildDotnetHome

libsSource

File[]? libs

List of dll libraries to link in

makeSource

new make(BuildScript script)

Initialize the .NET environment fields for csc.exe.

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