NAnt SDK Documentation - v0.92

ExternalProgramBase.Managed Property

Specifies whether the external program should be treated as a managed application, possibly forcing it to be executed under the currently targeted version of the CLR.

[Visual Basic]
<FrameworkConfigurable(Name:="managed", Required:=False, ExpandProperties:=True)>
Overridable Public Property Managed As ManagedExecution
[C#]
[FrameworkConfigurable(Name="managed", Required=False, ExpandProperties=True)]
public virtual NAnt.Core.Types.ManagedExecution Managed {get; set;}

Property Value

A ManagedExecution indicating how the program should be treated.

Remarks

If Managed is set to Default, which is the default value, and UseRuntimeEngine is true then Auto is returned.

When the changing Managed to Default, then UseRuntimeEngine is set to false; otherwise, it is changed to true.

See Also

ExternalProgramBase Class | NAnt.Core.Tasks Namespace