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 = "targetframework", ShortName = "t", Description = "Specifies the framework to target")]
public string TargetFramework { 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. |
Value
Type | Description |
---|---|
string | The framework that should be used. |