Export (0) Print
Expand All

VCLinkerTool Interface

Exposes the functionality of the linker options.

Namespace:  Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

public interface VCLinkerTool

The VCLinkerTool type exposes the following members.

  NameDescription
Public propertyAdditionalDependenciesGets or sets additional configuration-specific items to add to the link line, such as comdlg32.lib or kernel32.lib.
Public propertyAdditionalLibraryDirectoriesGets or sets one or more additional paths (configuration specific) to search for libraries.
Public propertyAdditionalManifestDependenciesGets or sets the additional XML manifest fragments that the linker will add to the manifest file.
Public propertyAdditionalOptionsGets or sets options to add to the end of the command line immediately before the file name(s). An example is if an option is not supported in the object model.
Public propertyAddModuleNamesToAssemblyGets or sets the specified non-assembly file in the final output.
Public propertyAllowIsolationGets or sets a value indicating whether to lookup a manifest file without side-by-side assemblies.
Public propertyAssemblyDebugGets or sets a value indicating the level of debugging support.
Public propertyAssemblyLinkResourceGets or sets a value specifying a resource file to link to the output assembly.
Public propertyBaseAddressGets or sets a base address for the program, overriding the default location for an .exe file (at 0x400000) or a DLL (at 0x10000000).
Public propertyCLRImageTypeGets or sets a value indicating the type of a CLR image.
Public propertyCLRThreadAttributeGets or sets a value indicating the threading attribute for the entry point of your CLR program.
Public propertyCLRUnmanagedCodeCheckDetermines whether /CLRUNMANAGEDCODECHECK is in effect or not.
Public propertyDataExecutionPreventionGets or sets a value that controls the Windows data execution prevention (DEP) feature.
Public propertyDelayLoadDLLsGets or sets one or more DLLs for delayed loading.
Public propertyDelaySignGets or sets a value indicating whether space should be reserved in the assembly file of a COM wrapper for the later addition of the digital signature with a strong name. This property is meaningful only in Visual C# projects.
Public propertydriverGets or sets a value which indicates to the linker which type of driver is being linked.
Public propertyEmbedManagedResourceFileGets or sets the specified embedded .NET (or .NET Framework) resource file.
Public propertyEnableCOMDATFoldingRemoves redundant COMDAT symbols from the linker output.
Public propertyEnableUACGets or sets a value that controls whether UAC information is embedded in the program manifest.
Public propertyEntryPointSymbolGets or sets the starting address (entry point) for an .exe file or DLL.
Public propertyErrorReportingSets or gets the current linker error reporting setting.
Public propertyExecutionBucketInfrastructure. Microsoft Internal Use Only.
Public propertyFixedBaseAddressGets or sets a value indicating whether an image must be loaded at a fixed address.
Public propertyForceSymbolReferencesGets or sets the linker or librarian to include a reference to this symbol.
Public propertyFunctionOrderGets or sets COMDATs (functions) in the image in a predetermined order.
Public propertyGenerateDebugInformationGets or sets a value enabling generation of debug information.
Public propertyGenerateManifestGets or sets a value indicating whether the linker should generate a manifest file.
Public propertyGenerateMapFileGets or sets a value indicating whether a map file is generated during linking.
Public propertyHeapCommitSizeGets or sets a value specifying total heap allocation size in physical memory.
Public propertyHeapReserveSizeGets or sets a value specifying total heap allocation size in virtual memory.
Public propertyIgnoreAllDefaultLibrariesGets or sets a value indicating to the linker or librarian to ignore all default libraries.
Public propertyIgnoreDefaultLibraryNamesGets or sets one or more default libraries to ignore.
Public propertyIgnoreEmbeddedIDLGets or sets a value indicating whether to ignore embedded .idlsym sections of object files.
Public propertyIgnoreImportLibraryGets or sets a value indicating whether the import library generated by this configuration should not be imported into dependent projects.
Public propertyImportLibraryGets or sets a value specifying which import libraries to generate.
Public propertyKeyContainerGets or sets the named container of the key for strongly naming the output assembly.
Public propertyKeyFileGets or sets the file that contains the key for strongly naming the output assembly.
Public propertyLargeAddressAwareGets or sets a value to enable handling addresses larger than 2 GB.
Public propertyLinkDLLGets or sets a value specifying whether to build a DLL as the main output.
Public propertyLinkIncrementalGets or sets a value enabling incremental linking.
Public propertyLinkLibraryDependenciesSets or gets whether there are link library dependencies.
Public propertyLinkTimeCodeGenerationGets or sets a value enabling link time code generation of objects compiled with /GL (Whole Program Optimization).
Public propertyManifestFileGets or sets the name of the manifest file to generate.
Public propertyMapExportsGets or sets a value indicating whether to include exported functions in map file information.
Public propertyMapFileNameGets or sets the name for the mapfile.
Public propertyMergedIDLBaseFileNameSpecifies the base name of the .idl file that contains the contents of the merged IDLSYM sections.
Public propertyMergeSectionsCauses the linker to merge section from into section to; if section to does not exist, section from is renamed to.
Public propertyMidlCommandFileSpecifies a response file for MIDL commands to use.
Public propertyModuleDefinitionFileGets or sets the specified module definition file during executable creation.
Public propertyOptimizeForWindows98Gets or sets code on 4-KB boundaries. This improves performance on Windows 98 systems.
Public propertyOptimizeReferencesEnables elimination of functions or data that are never referenced.
Public propertyOutputFileOverrides the default output file name; the default is based on the first .lib or .obj name on the command line.
Public propertyPerUserRedirectionGets or sets a value that controls whether COM registration for the current configuration is per-user or per-computer.
Public propertyProfileGets or sets a value indicating whether to produce an output file that can be used with the Enterprise Developer performance profiler.
Public propertyProfileGuidedDatabaseGets or sets the database file to use when using profile-guided optimizations.
Public propertyProgramDatabaseFileEnables generation of a program database .pdb file.
Public propertyRandomizedBaseAddressGets or sets a value controls whether to generate an executable image that can be randomly rebased at load time by using the address space layout randomization (ASLR) feature of Windows Vista.
Public propertyRegisterOutputGets or sets a value indicating whether the primary project output should be registered by using Regsvr32 after deployment.
Public propertyResourceOnlyDLLCreates a DLL with no entry point. Setting this to true creates a resource-only DLL.
Public propertySetChecksumGets or sets a value enabling the setting of the checksum in the header of an .exe file.
Public propertyShowProgressGets or sets a value that enables a detailed display about linker progress.
Public propertyStackCommitSizeGets or sets a value indicating the total stack allocation size in physical memory.
Public propertyStackReserveSizeGets or sets the total stack allocation size in virtual memory.
Public propertyStripPrivateSymbolsDo not put private symbols in the specified, generated .pdb file.
Public propertySubSystemGets or sets a subsystem for the linker.
Public propertySupportUnloadOfDelayLoadedDLLGets or sets a value indicating whether explicit unloading of the delayed load DLLs is allowed.
Public propertySuppressStartupBannerGets or sets a value indicating whether to suppress the display of the startup banner and information messages.
Public propertySwapRunFromCDGets or sets a value indicating whether to run the application from the swap location of the CD.
Public propertySwapRunFromNetGets or sets a value indicating if the application should be run from the swap location of the network.
Public propertyTargetMachineGets or sets a value specifying the subsystem for the linker.
Public propertyTerminalServerAwareEnables terminal server awareness.
Public propertyToolKindGets the name of the kind of tool this is.
Public propertytoolNameGets the name of the specified tool.
Public propertyToolPathGets the path to the specified tool.
Public propertyTurnOffAssemblyGenerationGets or sets a value specifying that no assembly will be generated although the common language runtime information is present in the object files.
Public propertyTypeLibraryFileGets or sets a value that specifies the name of the type library file.
Public propertyTypeLibraryResourceIDGets or sets a value that specifies the ID number to assign to the .tlb file in the compiled resources.
Public propertyUACExecutionLevelGets or sets a value that controls whether User Account Control (UAC) information is embedded in the program manifest.
Public propertyUACUIAccessGets or sets a value that controls whether your application bypasses user interface protection levels and drives input to higher-permission windows on the desktop.
Public propertyUseLibraryDependencyInputsSets or gets whether independent linking of libraries is enabled.
Public propertyUseUnicodeResponseFilesSets or gets whether to use unicode response files.
Public propertyVCProjectEngineGets a pointer to the project engine.
Public propertyVersionGets or sets a value as the version number in the image header.
Top

  NameDescription
Public methodget_PropertyOptionInfrastructure. Microsoft Internal Use Only.
Top

The VCLinkerTool object is not available for static library projects. Use VCLibrarianTool for static libraries.

The following new linker options are in Visual Studio 2005:

The following linker option was removed in Visual Studio 2005:

For more information, see Linker Options.

Show:
© 2014 Microsoft