CompilerParameters.GenerateExecutable Property


Gets or sets a value indicating whether to generate an executable.

Namespace:   System.CodeDom.Compiler
Assembly:  System (in System.dll)

member GenerateExecutable : bool with get, set

Property Value

Type: System.Boolean

true if an executable should be generated; otherwise, false.

If the value of this property is false, a DLL will be generated. By default, the value of this property is false.

The following example illustrates using CompilerParameters to specify various compiler settings and options. This code example is part of a larger example provided for the CompilerParameters class.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top