Summary
Gets or sets the target framework to use (overrides
NAnt.exe.config settings)
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core - Containing Type
- CommandLineOptions
Syntax
[CommandLineArgument(CommandLineArgumentTypes.AtMostOnce, Name = "defaultframework", ShortName = "k", Description = "Specifies the framework to target")]
[Obsolete("Use the -[t]argetframework option instead.", false)]
public string DefaultFramework { get; set; }
Remarks
For a list of possible frameworks, see NAnt.exe.config, possible
values include "net-1.0", "net-1.1", etc.
Attributes
Type | Description |
---|---|
Command |
Allows control of command line parsing. |
ObsoleteAttribute |
Value
Type | Description |
---|---|
string | The framework that should be used. |