BuildCs is the base class for build scripts used to manage building C# source code into a .NET exe or dll.
Slots
- cleanSource
-
Delete all intermediate and target files
- compileSource
-
Compile C# source into exe or dll
- dumpEnvSource
-
override Void dumpEnv()
Overrides build::BuildScript.dumpEnv
Doc inherited from build::BuildScript.dumpEnv
Dump script environment for debug.
- fullSource
-
Run clean, compile
- libsSource
-
Uri[] libs := Uri[,]
List of libraries to link to.
- outputSource
-
Uri? output
Required output file created by the compiler.
- skipSource
-
Bool skip := "win32"
Should we skip compiling .NET code? Default only runs C# compiler if running on Windows.
- srcDirsSource
-
Uri[]? srcDirs
Required list of directories to compile. All C# source files in each directory will be compiled.
- targetTypeSource
-
Str? targetType
Required output type. Possible values are
exe
,winexe
,library
ormodule
. -
private Void validate()