ExternalProgramBase.

UseRuntimeEngine Property

Summary

Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is false.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Tasks
Containing Type
ExternalProgramBase

Syntax

[FrameworkConfigurable("useruntimeengine")]
[Obsolete("Use the managed attribute and Managed property instead.", false)]
public virtual bool UseRuntimeEngine { get; set; }

Remarks

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

In all other cases, the value of NAnt.Core.Tasks.ExternalProgramBase.UseRuntimeEngine is ignored.

Attributes

Type Description
FrameworkConfigurableAttribute Indicates that the value of the property to which the attribute is assigned, can be configured on the framework-level in the NAnt application configuration file.
ObsoleteAttribute

Value

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