type

CompileCs

src class CompileCs : Task

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

constructors

make

Initialize the .NET environment fields for csc.exe.

fields

cscExe

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

dotnetHomeDir

Home directory for .NET installation configured via config prop

libs

List of dll libraries to link in

output

Output file created by the compiler.

src

List of source files or directories to compile

targetType

Output target type

methods

run

Run the csc task

Slot Details

cscExe

src File cscExe

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

dotnetHomeDir

src File? dotnetHomeDir

Home directory for .NET installation configured via config prop

libs

src File[]? libs

List of dll libraries to link in

make

src new make(BuildScript script)

Initialize the .NET environment fields for csc.exe.

output

src File? output

Output file created by the compiler.

run

src virtual override Void run()

Run the csc task

src

src File[] src := File[,]

List of source files or directories to compile

targetType

src Str? targetType

Output target type