NAnt SDK Documentation - v0.92 |

# VcArgumentMap.CreateLinkerArgumentMap Method

Creates a mapping between configuration properties for the Visual C++ linker and corresponding command-line arguments.

[Visual Basic]
Public Shared Function CreateLinkerArgumentMap() As VcArgumentMap
[C#]
public static VcArgumentMap CreateLinkerArgumentMap();

#### Return Value

A mapping between configuration properties for the Visual C++ linker and corresponding command-line arguments.

#### Remarks

The following configuration properties are processed by VcProject:

Category | Property
--- | ---
General | Output File (/OUT:[file])
General | Additional Library Directories (/LIBPATH:[dir])
Input | Additional Dependencies
Input | Add Module to Assembly (/ASSEMBLYMODULE:file)
Input | Embed Managed Resource File (/ASSEMBLYRESOURCE:file)
Debugging | Generate Debug Info (/DEBUG)
Debugging | Generate Program Database File (/PDB:name)
Debugging | Generate Map File (/MAP)
Debugging | Map File Name (/MAP:[filename])
System | Heap Reserve Size (/HEAP:reserve)
System | Heap Commit Size (/HEAP:reserve, commit)
System | Stack Reserve Size (/STACK:reserve)
System | Stack Commit Size (/STACK:reserve, commit)

The following configuration properties are ignored:

Category | Property
--- | ---
General | Show Progress (/VERBOSE, /VERBOSE:LIB)
General | Suppress Startup Banner (/NOLOGO)

Support for the following configuration properties still needs to be implemented:

Category | Property
--- | ---
General | Ignore Import Library
General | Register Output
Input | Delay Loaded DLLs (/DELAYLOAD:[dll_name])
Embedded IDL | MIDL Commands (/MIDL:[file])

#### See Also

VcArgumentMap Class | NAnt.VSNet Namespace