Export (0) Print
Expand All
Expand Minimize

Properties

Visual Studio .NET 2003

The following properties are implemented in the Visual C++ Project Model.

Property Description
AdditionalFiles Property The semicolon-separated list of additional files to be deployed.
AdditionalOptions Property Specifies options to add to the end of the command line immediately before the file name or names.
AdditionalUsingDirectories Property Specifies a directory to search to resolve file references passed to the #using directive. Exposes the functionality of the compiler's /AI option.
AddModuleNamesToAssembly Property Imports the specified non-assembly file into the final output. Exposes the functionality of the /ASSEMBLYMODULE linker option.
ApplicationMappings Property The semicolon-separated list of file extensions to be associated with the primary project output.
ApplicationProtection Property The level of process isolation used by the virtual directory.
AssemblerListingLocation Property Specifies the relative path and/or name for the ASM listing file. Exposes the functionality of the compiler's /Fa option.
AssemblerOutput Property Specifies the contents of assembly language output file. Exposes the functionality of the compiler's /FA and /Fa options.
ATLMinimizesCRunTimeLibraryUsage Property Causes ATL to link to the C run-time libraries statically to minimize dependencies; requires that useOfATL Property be set.
Attach Property Specifies whether the debugger should be attached to the process specified in the Command property when this project is debugged.
BaseAddress Property Sets a base address for the program, overriding the default location for an .exe file (at 0x400000) or a DLL (at 0x10000000). Exposes the functionality of the /BASE linker option.
BasicRuntimeChecks Property Performs full run-time error checks (/RTC1), checks stack frame validity at run time (/RTCs), and checks for uninitialized variables at run time (/RTCu).
BrowseInformation Property Specifies the level of browse information in the .bsc file. Exposes the functionality of the compiler's /Fr and /FR options.
BrowseInformationFile Property Specifies the optional name for the browser information file. Exposes the functionality of the compiler's /Fr[name] and /FR[name] options.
BufferSecurityCheck Property Checks for buffer overruns. Exposes the functionality of the compiler's /GS option.
BuildBrowserInformation Property Builds the browser (.bsc) information for this configuration.
BuildCommandLine Property Specifies the command line to run for the Build command (Build menu).
BuildLogging Property Specifies whether a log file will be created and populated with information about build activity.
BuildTiming Property Specifies whether the Output window will display times for all tools in the build.
CallingConvention Property Selects the default calling convention for your application. Exposes the functionality of the compiler's /Gd, /Gr, /Gz options.
CharacterSet Property Tells the compiler to use the specified character set.
CleanCommandLine Property Specifies the command line to run for the Clean command (Build menu).
Command Property Specifies the executable file to start when you invoke the debugger if Remote specifies local debugging and Attach is False.
CommandArguments Property Specifies the arguments to pass to the process specified in Command when Attach is False.
CommandLine Property Specifies a command line for the build event tool to run.
CompileAs Property Selects compile language option for .c and .cpp files. Exposes the functionality of the compiler's /TC, /TP options.
CompileAsManaged Property Uses the .NET runtime services, incompatible with any runtime checks. Exposes the functionality of the compiler's /clr option.
CompileOnly Property Specifies compilation only, with no linking. Exposes the functionality of the compiler's /c option.
Configurations Property Returns the collection of configurations on the project.
ConfigurationType Property Specifies the type of output this configuration generates.
CPreprocessOptions Property Specifies a C-compiler preprocessor option to pass to the MIDL compiler. Exposes the functionality of the /cpp_opt MIDL option.
Culture Property Lists the culture (such as U.S. English or Mexican Spanish) used in the resources. Exposes the functionality of the resource compiler's /l option.
DebuggerType Property Specifies the debugger settings for managed or unmanaged code.
DebugInformationFormat Property Specifies the type of debugging information generated by the compiler. Exposes the functionality of the compiler's /Z7, /Zd, /Zi, /ZI options.
DebugSettings Property Provides a pointer to the object containing the debug settings information for the selected configuration.
DefaultCharIsUnsigned Property Sets the default char type to unsigned. Exposes the functionality of the compiler's /J option.
DefaultCharType Property Specifies the default MIDL char type. Exposes the functionality of the /char MIDL option.
DelayLoadDLLs Property Specifies one or more DLLs for delayed loading. Exposes the functionality of the /DELAYLOAD linker option.
DeleteExtensionsOnClean Property Specifies which files in the intermediate directory to delete on clean or rebuild.
DeploymentContent Property Indicates the deployment status of the selected file. Used when a deployment project is part of the solution.
Detect64BitPortabilityProblems Property Tells the compiler to check for 64-bit portability issues. Exposes the functionality of the compiler's /Wp64 option.
DisableLanguageExtensions Property Suppresses or enables language extensions. Exposes the functionality of the compiler's /Za option.
DisableSpecificWarnings Property Disables the desired warning numbers; puts numbers in a semicolon delimited list. Exposes the functionality of the compiler's /wd option.
DLLDataFileName Property Specifies the name of the DLLDATA file; default is dlldata.c. Exposes the functionality of the /dlldata MIDL option.
EmbedManagedResourceFile Property Sets or returns the specified embedded .NET (or .NET Framework) resource file. Exposes the functionality of the /ASSEMBLYRESOURCE linker option.
EnableCOMDATFolding Property Removes redundant COMDAT symbols from the linker output. Exposes the functionality of the /OPT linker option.
EnableEnhancedInstructionSet Property Enables use of instructions found on processors that support enhanced instruction sets, such as the SSE and SSE2 enhancements to the IA-32. Exposes the functionality of the compiler's /ARCH option.
EnableErrorChecks Property Selects error checking option. If you select Custom, only selected error checking options occur during compile. Exposes the functionality of the /error MIDL option.
EnableFiberSafeOptimizations Property Enables memory space optimization when using fibers and thread local storage access. Exposes the functionality of the compiler's /GT option.
EnableFunctionLevelLinking Property Enables function-level linking. Exposes the functionality of the compiler's /Gy option.
EnableIntrinsicFunctions Property Uses intrinsic functions to generate faster, and possibly larger, code. Exposes the functionality of the compiler's /Oi option.
EntryPointSymbol Property Sets the starting address (entry point) for an .exe file or DLL. Exposes the functionality of the /ENTRY linker option.
ErrorCheckAllocations Property Checks for out-of-memory errors. Exposes the functionality of the /error MIDL option.
ErrorCheckBounds Property Specifies an error check of size versus transmission length specifications. Exposes the functionality of the /error MIDL option.
ErrorCheckEnumRange Property Specifies an error check that enum values are in an allowable range. Exposes the functionality of the /error MIDL option.
ErrorCheckRefPointers Property Specifies an error check of reference pointers for NULL. Exposes the functionality of the /error MIDL option.
ErrorCheckStubData Property Specifies error checking for server side data stub validity. Exposes the functionality of the /error MIDL option.
Events Property Returns the object that sources events fired by the project engine.
ExceptionHandling Property Calls destructors for automatic objects during a stack unwind caused by an exception being thrown. Exposes the functionality of the compiler's /EHsc option.
ExcludedFromBuild Property Specifies whether this item is excluded from the build.
ExecutableDirectories Property Indicates path to use when searching for executable files while building a Visual C++ project. Corresponds to environment variable PATH.
ExpandAttributedSource Property Creates a listing file with expanded attributes injected into a source file. Exposes the functionality of the compiler's /Fx option.
ExportNamedFunctions Property Exports one or more specified functions. Exposes the functionality of the LIB tool's Building an Import Library and Export File option.
Extension Property Returns the extension of a file.
FavorSizeOrSpeed Property Chooses whether to favor code size or code speed. Exposes the functionality of the compiler's /Os and /Ot options.
FileConfigurations Property Specifies the list of configurations on the selected file.
FileTools Property Lists the available tools that operate on files.
FileType Property Sets or returns the type of file.
Filter Property Sets or returns a list of the file extensions associated with a folder.
Filters Property Returns the collection of filters (or folders) on the object.
FixedBaseAddress Property Sets or returns whether an image must be loaded at a fixed address. Exposes the functionality of the /FIXED linker option.
ForceConformanceInForLoopScope Property Forces the compiler to conform to the local scope in a For loop. Exposes the functionality of the compiler's /Zc:forScope option.
ForcedIncludeFiles Property Specifies one or more forced include files. Exposes the functionality of the compiler's /FI option.
ForcedUsingFiles Property Forces the use of a file name, as if it had been passed to the #using directive. Exposes the functionality of the compiler's /FU option.
ForceSymbolReferences Property Forces the linker or librarian to include a reference to this symbol. Exposes the functionality of the linker's /INCLUDE option or the librarian's /INCLUDE option.
FullIncludePath Property Returns a list of all directories included in the build; a concatenation of directories specified with /I and the directories specified in the Visual C++ Directories dialog box.
FullReferencesPath Property Returns the path to search for references, including all inherited parts of the path.
FunctionOrder Property Places COMDATs (functions) in the image in a predetermined order. Exposes the functionality of the /ORDER linker option.
GenerateDebugInformation Property Enables generation of debug information. Exposes the functionality of the /DEBUG linker option.
GeneratedProxyLanguage Property Specifies the language to use when generating the web proxy.
GenerateMapFile Property Generates a map file during linking. Exposes the functionality of the /MAP linker option.
GeneratePreprocessedFile Property Specifies the preprocessing option for this configuration. Exposes the functionality of the compiler's /EP and /P options.
GenerateStublessProxies Property Specifies the generation of stubless proxies. Exposes the functionality of the /Oicf MIDL option.
GenerateTypeLibrary Property Specifies whether to generate a type library. Exposes the functionality of the /notlb MIDL option.
GlobalOptimizations Property Enables global optimizations. Exposes the functionality of the compiler's /Og option.
HeaderFileName Property Specifies the name of the generated header file; default is idlfile.h. Exposes the functionality of the /h MIDL option.
HeapCommitSize Property Specifies the total heap allocation size in physical memory. Exposes the functionality of the /HEAP linker option.
HeapReserveSize Property Specifies the total heap allocation size in virtual memory. Exposes the functionality of the /HEAP linker option.
HttpUrl Property For ATL Server debugging, specifies the URL for the project.
IgnoreDefaultLibraryNames Property Specifies one or more default libraries to ignore. Exposes the functionality of the /NODEFAULTLIB linker option and the /NODEFAULTLIB LIB option.
IgnoreEmbeddedIDL Property Ignores embedded .idlsym sections of object files. Exposes the functionality of the /IGNOREIDL linker option.
IgnoreImportLibrary Property Specifies that the import library generated by this configuration should not be imported into dependent projects.
IgnoreStandardIncludePath Property Ignore standard include path. Exposes the functionality of the compiler's /X option, the MIDL compiler's /no_def_idir option, and the resource compiler's /X option.
ImportLibrary Property (VCLinkerTool) Specifies which import library to generate. Exposes the functionality of the /IMPLIB linker option.
ImportLibrary Property Specifies which import library to generate or reports which import library will be generated by the configuration.
ImproveFloatingPointConsistency Property Enables improving floating-point consistency during calculations. Exposes the functionality of the compiler's /Op option.
IncludeDirectories Property Specifies the path to use when searching for include files while building a Visual C++ project. Corresponds to environment variable INCLUDE.
InlineFunctionExpansion Property Selects the level of inline function expansion for the build. Exposes the functionality of the compiler's /Ob1 and /Ob2 options.
InterfaceIdentifierFileName Property Specifies a name for the Interface Identifier file; default is idlfile_i.c. Exposes the functionality of the /iid MIDL option.
IntermediateDirectory Property Specifies a relative path to the intermediate file directory; can include environment variables.
Items Property Returns the collection of files and top-level folders in a project or the collection of files and folders in a folder.
KeepComments Property Suppresses the comment strip from the source code. Exposes the functionality of the compiler's /C option.
LargeAddressAware Property Enables handling addresses larger than 2 GB. Exposes the functionality of the /LARGEADDRESSAWARE linker option.
LibraryDirectories Property Specifies the path to use when searching for library files while building a Visual C++ project. Corresponds to environment variable LIB.
LinkDLL Property Specifies building a DLL as the main output. Exposes the functionality of the /DLL linker option.
LinkIncremental Property Enables incremental linking. Exposes the functionality of the /INCREMENTAL linker option.
LinkTimeCodeGeneration Property Enables link time code generation of objects compiled with /GL. Exposes the functionality of the /LTCG linker option.
LinkToManagedResourceFile Property Links to the specified .NET (or .NET Framework) resource file. Exposes the functionality of the /ASSEMBLYRESOURCE linker option.
ManagedExtensions Property Specifies that this configuration uses Managed Extensions for C++. Exposes the functionality of the C++ compiler's /clr option.
MapExports Property Includes exported functions in map file information. Exposes the functionality of the /MAPINFO linker option.
MapFileName Property Generates a map file and specifies the name for the map file. Exposes the functionality of the /MAP linker option.
MapLines Property Includes source code line number information in map file. Exposes the functionality of the /MAPINFO linker option.
MergedIDLBaseFileName Property Specifies the base name of the .IDL file that contains the contents of the merged IDLSYM sections. Exposes the functionality of the /IDLOUT linker option.
MergeSections Property Causes the linker to merge section from into section to; if section to does not exist, section from is renamed to. Exposes the functionality of the /MERGE linker option.
MidlCommandFile Property Specifies a response file for MIDL commands to use. Exposes the functionality of the /MIDL linker option.
MinimalRebuild Property Detects changes to C++ class definitions and recompiles only affected source files. Exposes the functionality of the compiler's /Gm option.
MkTypLibCompatible Property Forces compatibility with mktyplib.exe version 2.03. Exposes the functionality of the /mktyplib203 MIDL option.
ModuleDefinitionFile Property Uses the specified module definition file during executable creation. Exposes the functionality of the linker's /DEF option and the librarian's /DEF option.
Namespace Property (VCProjectEngine) Sets or returns an object defining the parent namespace.
Object Property Provides a reference between the Visual Studio .NET object model and the Visual C++ .NET object model.
ObjectFile Property Specifies a name to override the default object file name. Exposes the functionality of the compiler's /Fo option.
OmitFramePointers Property Suppresses frame pointers. Exposes the functionality of the compiler's /Oy option.
Optimization Property Selects the option for code optimization. Exposes the functionality of the compiler's /Od, /O1, /O2, and /Ox options.
OptimizeForProcessor Property Optimizes code to favor a specific X86 processor; use Blended to work the best across all processors. Exposes the functionality of the compiler's /G5 and /G6 options.
OptimizeForWindows98 Property Align code on 4 KB boundaries. This improves performance on Windows 98 systems. Exposes the functionality of the /OPT linker option.
OptimizeForWindowsApplication Property Specifies whether to optimize code in favor of Windows .exe execution. Exposes the functionality of the compiler's /GA option.
OptimizeReferences Property Enables elimination of functions and/or data that are never referenced. Exposes the functionality of the /OPT linker option.
Output Property Specifies the output file name.
OutputDirectory Property Specifies directory to place output; by default, uses the project directory.
Outputs Property Specifies the output files the custom build step generates.
OutputUpToDate Property Specifies whether the output of the specified file is up-to-date.
ParseFiles Property Specifies whether the files in a folder will be open to inspection by IntelliSense.
PDBPath Property Specifies additional directories in which to search for symbol files.
Platform Property Specifies the platform this configuration is being built for.
Platforms Property (VCProject) Returns the platforms for which this project can be built. For Visual C++, this will only be Win32.
Platforms Property (VCProjectEngine) Returns the collection of platforms on the project engine.
PrecompiledHeaderFile Property Specifies the path and/or name of the generated precompiled header file. Exposes the functionality of the compiler's /Fp option.
PrecompiledHeaderThrough Property Specifies the header file name to use when creating or using a precompiled header file. Exposes the functionality of the compiler's /Yc, /YX, and /Yu options.
PrimaryOutput Property Specifies the primary output from building this configuration.
ProgramDatabase Property Reports the program database, if any, that the configuration generates.
ProgramDatabaseFile Property Enables generation of a program database .pdb file. Exposes the functionality of the /PDB linker option.
ProgramDataBaseFileName Property Specifies a name for a compiler-generated .pdb file and a base name for the required compiler-generated .idb file. Exposes the functionality of the compiler's /Fd option.
ProjectConfiguration Property The project configuration associated with the selected file configuration.
ProjectDirectory Property Returns the name of the directory that contains the project file.
ProjectFile Property Returns the name of the project file.
Projects Property (VCProjectEngine) Returns the projects in the solution.
ProxyFileName Property Specifies the name of the proxy file; the default is idlfile_p.c. Exposes the functionality of the /proxy MIDL option.
PublicKeyFile Property Specifies the file containing the strong name public key. Exposes the functionality of the /publickey option.
PublicKeyToken Property Returns the public key token for the referenced assembly.
ReBuildCommandLine Property Specifies the command line to run for the Rebuild command (Build menu).
RedirectOutputAndErrors Property Specifies the file name to write screen output and errors into. Exposes the functionality of the /o MIDL option.
Reference Property Displays the reference associated with this configuration.
ReferenceConfigurations Property Returns the collection of configurations for this referenced assembly.
ReferenceDirectories Property Sets or returns the path to use when searching for files brought in with the #using directive while building a Visual C++ .NET project. Corresponds to the environment variable LIBPATH.
References Property Returns the collection of references for the selected project.
ReferencesConsumableByDesigners Property Returns the collection of references that are consumable by designers in the active solution configuration.
ReferencesPath Property Sets or returns the path to search for references.
ReferenceTools Property Returns a list of the available tools that operate on references.
RegisterOutput Property (VCLinkerTool) Specifies whether to register the primary output of this build. See Linker Property Pages for more information.
RegisterOutput Property (VCWebDeploymentTool) Specifies whether the primary project output should be registered using Regsvr32 after deployment.
RegisterOutput Property Reports whether the configuration will register the primary output of this build. See Linker Property Pages for more information.
RelativePath Property (VCFile) Sets or returns the relative path to the file. This path must be relative to the project directory and can contain macros.
RelativePath Property (VCWebDeploymentTool) The path relative to the virtual directory to which the primary project output is copied when deployment occurs.
Remote Property Specifies local or remote debugging.
RemoteCommand Property If Attach is False and Remote specifies remote debugging, the executable file starts when you invoke the debugger. If Attach is True and Remote specifies remote debugging, the RemoteCommand property specifies the process to which the debug process should be attached when you invoke the debugger.
RemoteMachine Property When Remote specifies remote debugging, the RemoteMachine property specifies the name of the machine that contains the program to debug.
ResourceOnlyDLL Property Creates a DLL with no entry point. Setting this to true creates a resource-only DLL. Exposes the functionality of the /NOENTRY linker option.
ResourceOutputFileName Property Specifies the name of the resource file. Exposes the resource compiler's /fo option.
RevisionNumber Property Returns the revision number of the selected reference.
RootNamespace Property Sets or returns the root namespace for the specified project. Used to determine proper naming for managed resource DLLs.
RuntimeLibrary Property Specifies the run time library for linking. Exposes the functionality of the compiler's /MT, /MTd, /MD, /MDd, /ML, /MLd options.
RuntimeTypeInfo Property Adds code for checking C++ object types at run time (run-time type information). Exposes the functionality of the compiler's /GR option.
SatelliteDLLs Property  
SetChecksum Property Enables setting the checksum in the header of an .exe. Exposes the functionality of the /RELEASE linker option.
ShowEnvironmentInBuildLog Property  
ShowIncludes Property Generates a list of include files with compiler output. Exposes the functionality of the compiler's /showIncludes option.
SmallerTypeCheck Property Enables checking for conversion to smaller types. Exposes the functionality of the compiler's /RTCc option.
SourceControlFiles Property Indicates whether files added to the folder will automatically be placed under source code control.
SourceDirectories Property Path to use when searching for source files to use for IntelliSense. Corresponds to the environment variable SOURCE.
SQLDebugging Property Enables SQL debugging for the project.
StackCommitSize Property Specifies the total stack allocation size in physical memory. Exposes the functionality of the /STACK linker option.
StackReserveSize Property Specifies the total stack allocation size in virtual memory. Exposes the functionality of the /STACK linker option.
StringPooling Property Enables read-only string pooling for generating smaller compiled code. Exposes the functionality of the compiler's /GF option.
StripPrivateSymbols Property Exposes the functionality of the /PDBSTRIPPED linker option.
StrongName Property (VCProjectEngine) [Variant 1] Returns whether or not the selected reference has a strong name.
StrongName Property (VCProjectEngine) [Variant 2] Sets or returns the file or container from which to obtain strong name information.
StrongNameType Property Specifies how to work with strong names.
StyleSheetFile Property Returns the full path to the style sheet file. Includes the file name.
StyleSheetName Property Returns the value of the Name tag in the style sheet file.
StyleSheets Property Returns the collection of style sheets applied to the collection. This property is not available in Visual C++ .NET.
StyleSheetDirectory Property Returns the directory name for a style sheet.
StyleSheetName Property Returns the value of the Name tag in the style sheet file. This property is available only for backwards compatibility and should otherwise not be used.
SubSystem Property Specifies the subsystem for the linker. Exposes the functionality of the /SUBSYSTEM linker option.
SupportUnloadOfDelayLoadedDLL Property Allows explicit unloading of the delayed load DLLs. Exposes the functionality of the /DELAY:UNLOAD linker option.
SwapRunFromCD Property Runs the application from the swap location of the CD. Exposes the functionality of the /SWAPRUN linker option.
SwapRunFromNet Property Runs the application from the swap location of the Net. Exposes the functionality of the /SWAPRUN linker option.
TargetEnvironment Property Specifies the environment to target. Exposes the functionality of the /env MIDL option.
TargetMachine Property Specifies the subsystem for the linker. Exposes the functionality of the /MACHINE linker option.
TerminalServerAware Property Enables terminal server awareness. Exposes the functionality of the /TSAWARE linker option.
Tool Property (VCProjectEngine) Specifies the tool that will build the file.
ToolKind Property Returns the name of the kind of tool this is.
ToolName Property Specifies the name of the tool.
ToolPath Property Specifies the command-line name of the tool.
Tools Property Lists the available tools for the platform.
ToolSet Property Sets or gets the constant that defines the tool set used by the current style sheet.
TreatWChar_tAsBuiltInType Property Treats wchar_t as a built-in type. Exposes the functionality of the compiler's /Zc:wchar_t option.
TurnOffAssemblyGeneration Property Specifies that no assembly will be generated even though common language runtime information is present in the object files. Exposes the functionality of the /NOASSEMBLY linker option.
TypeLibraryFile Property Specifies the name of the type library file. Exposes the functionality of the /TLBOUT linker option.
TypeLibraryName Property Specifies the name of the type library file. The default is idlfile.tlb. Exposes the functionality of the /tlb MIDL option.
TypeLibraryResourceID Property Specifies the ID number to assign to the .tlb file in the compiled resources. Exposes the functionality of the /TLBID linker option.
UndefineAllPreprocessorDefinitions Property Undefines all previously defined preprocessor values. Exposes the functionality of the compiler's /u option.
UniqueIdentifier Property Specifies a nonlocalizable name for the folder.
UnloadBeforeCopy Property Specifies whether to unload the Internet Server Application Programming Interface (ISAPI) extension or extensions associated with the virtual directory before deploying.
UpToDate Property Specifies whether the current configuration's build state is up-to-date.
URL Property Specifies the URL used when a user specifies the Update Web Reference command.
useOfMfc Property Specifies how MFC is used by the configuration.
UsePrecompiledHeader Property Enables creation or use of a precompiled header during the build. Exposes the functionality of the compiler's /Yc, /YX, and /Yu options.
ValidateParameters Property Enables the generation of parameter validation information. Exposes the functionality of the /robust MIDL option.
VCProjectEngine Property Returns a pointer to the project engine.
VCReferences Property Returns the collection of references for the selected project.
Version Property Use this value as the version number in the image header. Exposes the functionality of the linker's /VERSION option.
VirtualDirectoryName Property The alias of the virtual directory.
WarnAsError Property Enables the compiler to treat all warnings as errors. Exposes the functionality of the C++ compiler's /WX option and the MIDL compiler's /WX option.
WarningLevel Property Selects how strict you want the compiler to be about checking for potentially suspect constructs. Exposes the functionality of the C++ compiler's /W option and the MIDL compiler's /W option.
WebReference Property Returns the URL of the web reference.
WholeProgramOptimization Property Enables cross-module optimizations by delaying code generation to link time. Exposes the functionality of the compiler's /GL option.
WorkingDirectory Property Specifies the debugger's working directory. By default, the directory containing the .vcproj file.

See Also

Visual C++ Extensibility Object Model

Show:
© 2014 Microsoft