Summary
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.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Tasks - Containing Type
- ExternalProgramBase
Syntax
[FrameworkConfigurable("managed")]
public virtual ManagedExecution Managed { get; set; }
Remarks
If NAnt.Core.Tasks.ExternalProgramBase.Managed is set to NAnt.Core.Types.ManagedExecution.Default,
which is the default value, and NAnt.Core.Tasks.ExternalProgramBase.UseRuntimeEngine is
true then NAnt.Core.Types.ManagedExecution.Auto
is returned.
When the changing NAnt.Core.Tasks.ExternalProgramBase.Managed to NAnt.Core.Types.ManagedExecution.Default,
then NAnt.Core.Tasks.ExternalProgramBase.UseRuntimeEngine is set to false;
otherwise, it is changed to true.
Attributes
| Type | Description |
|---|---|
| Framework |
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. |
Value
| Type | Description |
|---|---|
| ManagedExecution |
A NAnt.Core.Types.ManagedExecution indicating how the program should
be treated.
|
