We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

VCLibrarianTool Interface

Exposes the functionality of the LIB Reference tool.

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

public interface VCLibrarianTool

The VCLibrarianTool type exposes the following members.

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 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 propertyExecutionBucketInfrastructure. Microsoft Internal Use Only.
Public propertyExportNamedFunctionsGets or sets the exported names of one or more specified functions.
Public propertyForceSymbolReferencesGets or sets the linker or librarian to include a reference to this symbol.
Public propertyIgnoreAllDefaultLibrariesGets or sets a value indicating whether the linker or librarian ignores all default libraries.
Public propertyIgnoreDefaultLibraryNamesGets or sets a value indicating one or more default libraries to ignore.
Public propertyInputsGets the input files.
Public propertyLinkLibraryDependenciesGets or set whether the dependent project outputs are linked.
Public propertyLinkTimeCodeGenerationGets or sets a value indicating whether link time code generation of objects compiled with /GL (Whole Program Optimization).
Public propertyModuleDefinitionFileGets or sets a value indicating the specified module definition file during executable creation.
Public propertyOutputFileGets or sets the default output file name; the default is based on the first .lib or .obj name on the command line.
Public propertySuppressStartupBannerGets or sets a value that suppresses the display of the startup banner and information messages.
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 propertyUseUnicodeResponseFilesGets or sets a value indicating whether a linker or compiler can use a unicode response file.
Public propertyVCProjectEngineGets a pointer to the project engine.

Public methodget_PropertyOptionInfrastructure. Microsoft Internal Use Only.

The VCLibrarianTool object is only available for static library projects. VCLinkerTool is for use on most other C++ project types.