NAnt SDK Documentation - v0.92

ExternalProgramBase.UseRuntimeEngine Property

NOTE: This property is now obsolete.

Use the managed attribute and Managed property instead.


Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is false.

[Visual Basic]
<Obsolete(Message:="Use the managed attribute and Managed property instead.", IsError:=False), _  FrameworkConfigurable(Name:="useruntimeengine", Required:=False, ExpandProperties:=True)>
Overridable Public Property UseRuntimeEngine As Boolean
[C#]
[Obsolete(Message="Use the managed attribute and Managed property instead.", IsError=False)]
[FrameworkConfigurable(Name="useruntimeengine", Required=False, ExpandProperties=True)]
public virtual bool UseRuntimeEngine {get; set;}

Property Value

true if the external program should be executed using a runtime engine; otherwise, false.

Remarks

The value of UseRuntimeEngine is only used from Managed, and then only if its value is set to Default. In which case Managed returns Auto if UseRuntimeEngine is true.

In all other cases, the value of UseRuntimeEngine is ignored.

See Also

ExternalProgramBase Class | NAnt.Core.Tasks Namespace