The VCConfiguration object programmatically accesses the properties in the General property page of a project's Property Pages dialog box. This object also allows access to the tools used to build this configuration.
The VCConfiguration type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| .gif) | Build | Builds the current configuration. | 
| .gif) | BuildWithPropertySheet | Used to set properties for builds. | 
| .gif) | BuildWithPropertySheetPath | Specifies a property sheet search path. | 
| .gif) | Clean | Invokes the Clean command for the current configuration. | 
| .gif) | ClearToolProperty | Clears the tool property value. | 
| .gif) | CopyTo | Copies the current configuration. | 
| .gif) | Delete | Infrastructure. Microsoft Internal Use Only. | 
| .gif) | Deploy | Deploys the project. | 
| .gif) | Evaluate | Evaluates the value of a project model or environment macro. See Macros for Build Commands and Properties for more information about these macros. | 
| .gif) | MatchName | Matches a specified name to the name of a collection item. | 
| .gif) | Rebuild | Rebuilds the current configuration. | 
| .gif) | Relink | Relink the project. | 
| .gif) | StopBuild | Cancels the build currently in progress on the specified configuration. | 
| .gif) | WaitForBuild | Suspends processing until build is complete. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | ATLMinimizesCRunTimeLibraryUsage | Causes ATL to link to the C runtime libraries statically to minimize dependencies; requires that useOfATL property is set. | 
| .gif) | BuildLogFile | Sets or gets the name of the html log file. | 
| .gif) | CharacterSet | Gets or sets a value that tells the compiler to use the specified character set. | 
| .gif) | ConfigurationName | Gets or sets the project configuration to be built. | 
| .gif) | ConfigurationType | Gets or sets the type of output this configuration generates. | 
| .gif) | DebugSettings | Gets a pointer to the object containing the debug settings information for the selected configuration. | 
| .gif) | DeleteExtensionsOnClean | Gets or sets which files in the intermediate directory to delete on clean or rebuild. | 
| .gif) | DeploymentTool | Gets the deployment tool. | 
| .gif) | DEPRECATED1 | Infrastructure. Microsoft Internal Use Only. | 
| .gif) | ExcludeBuckets | Sets or gets which tool buckets to ignore during a build. | 
| .gif) | FileTools | Lists the available tools that operate on files. | 
| .gif) | ImportLibrary | Gets which import library to generate or reports which import library will be generated by the configuration. ImportLibrary exposes the functionality of the /IMPLIB (Name Import Library) linker option. | 
| .gif) | InheritedPropertySheets | Sets or gets the property sheets for a config. | 
| .gif) | IntermediateDirectory | Gets or sets a relative path to the intermediate file directory; can include environment variables. | 
| .gif) | IntrinsicPropertySheets | Microsoft internal use only. Do not use. | 
| .gif) | ManagedExtensions | Gets or sets a configuration that uses Visual C++. ManagedExtensions exposes the functionality of the C++ compiler's /clr (Common Language Runtime Compilation) option. | 
| .gif) | Name | Gets or sets the name of the object. | 
| .gif) | OutputDirectory | Gets or sets the directory in which to place output. The default directory is the project directory. | 
| .gif) | Platform | Gets the platform for which this configuration is being built. | 
| .gif) | PrimaryOutput | Gets the primary output from building this configuration. | 
| .gif) | ProgramDatabase | Gets the program database, if any, that the configuration generates. | 
| .gif) | project | Gets the VCProject associated with the VCConfiguration. | 
| .gif) | PropertySheets | Gets all property sheets for the project. | 
| .gif) | RegisterOutput | Gets a value indicating whether the configuration registers the primary output of this build. | 
| .gif) | SatelliteDLLs | Gets a semicolon-delimited list of all satellite DLLs that this configuration generates. | 
| .gif) | SqlAssemblyOwner | Sets or gets the SQL assembly owner. | 
| .gif) | SqlDebugScript | Gets or sets the name of the SQL debug script. | 
| .gif) | SqlDeploySource | Sets or gets whether to include source files when deploying a SQL assembly. | 
| .gif) | SqlPermissionLevel | Gets or sets the SQL permission level for the project. | 
| .gif) | SqlPostDeployScript | Sets or gets the script for post SQL deploy activity. | 
| .gif) | SqlPreDeployScript | Sets or gets the script for per SQL deploy activity. | 
| .gif) | Tools | Gets the available tools for the configuration. | 
| .gif) | UpToDate | Gets a value indicating whether the current configuration's build state is up to date. | 
| .gif) | useOfATL | Gets or sets a value indicating how ATL is used by the configuration. | 
| .gif) | useOfMfc | Gets or sets how MFC is used by the configuration. | 
| .gif) | VCProjectEngine | Gets a pointer to the project engine. | 
| .gif) | WholeProgramOptimization | Gets or sets cross-module optimizations by delaying code generation to link time. WholeProgramOptimization exposes the functionality of the compiler's /GL (Whole Program Optimization) option. | 
Top