Attribute | Description | Required |
---|
doc | The name of the XML documentation file to generate. This attribute corresponds to the /doc: flag. | False |
nostdlib | Instructs the compiler not to import mscorlib.dll (true/false). Default is "false." | False |
noconfig | Instructs the compiler not to use implicit references to assemblies (true/false). Default is "false." | False |
output | Output directory for the compilation target. | True |
target | Output type (library or exe). | True |
debug | Generate debug output (true/false). | False |
define | Define conditional compilation symbol(s). Corresponds to /d[efine]: flag. | False |
win32icon | Icon to associate with the application. Corresponds to /win32icon: flag. | False |
warnaserror | Instructs the compiler to treat all warnings as errors (true/false). Default is "false." | False |
main | Specifies which type contains the Main method that you want to use as the entry point into the program. | False |
failonerror | Determines whether task failure stops the build or is just reported. Default is "true." | False |
verbose | Task reports detailed build log messages. Default is "false." | False |
if | If true then the task will be executed; otherwise skipped. Default is "true." | False |
unless | Opposite of if. If false then the task will be executed; otherwise skipped. Default is "false." | False |