Share via


VC++ Project Settings, Projects and Solutions, Options Dialog Box

This dialog box enables you to define Visual C++ project settings related to build logging and supporting file types.

To access this dialog box

  1. From the Tools menu, click Options.

  2. Click the Projects and Solutions folder.

  3. Click the VC++ Project Settings property page.

Build Logging

  • Yes
    Turns on generation of the build log file. This option generates BuildLog.htm, which can be found in the project's intermediate files directory. Every fresh build overwrites the previous BuildLog.htm file.

  • No
    Turns off generation of the build log file.

Build Timing

  • Yes
    Turns on build timing. If selected, the time it takes for the build to complete is posted to the Output window. For more information, see Output Window.

  • No
    Turns off build timing.

C/C++ File Extensions

Specifies the extensions of files that will be built with the C or C++ compiler.

Extensions to Hide

Specifies the extensions of files that will not display in Solution Explorer when the Show All Files is enabled. For more information, see Solution Explorer.

Extensions to Include

Specifies the extensions of files that can be ported into your project.

Rule File Search Paths

Specifies the list of directories that contain .rules files, which help you define build rules for your projects. For more information, see Rule Files.

Show "Build Rule" Dialog

  • Yes
    Displays the Matching Custom Build Rule dialog box when you add a file that has an associative build rule, to your project. For more information, see Matching Custom Build Rule Dialog Box.

  • No
    Turns off the dialog, such that when you add a file that has an associative build rule to your project, the Matching Custom Build Rule dialog box will not display.

Show "No Build Rule" Dialog

  • Yes
    Displays the Matching Custom Build Rule Not Found dialog box when you add a file that does not have an associative build rule, to your project. For more information, see Matching Custom Build Rule Not Found Dialog Box.

  • No
    Turns off the dialog such that, when you add a file that does not have an associative build rule to your project, the Matching Custom Build Rule Not Found dialog box will not display.

Show Environment in Log

  • Yes
    Lists environment variables in the build log file. This option specifies to echo all environment variables, during builds of Visual C++ projects, into the build log file.

  • No
    Exclude environment variables from the build log file.

Solution Explorer Mode

  • Show only files in project
    Configures Solution Explorer to only display files in the project.

  • Show all files
    Configures Solution Explorer to show files in the project and files on disk in the project folder.

Validate Schemas

  • Yes
    Visual C++ will perform schema validation on project, rule, property sheet, user, and platform configuration files.

  • No
    Visual C++ will not perform schema validation on project, rule, property sheet, user, or platform configuration files.

See Also

Other Resources

Projects and Solutions, Options Dialog Box

Building a C/C++ Program

C/C++ Building Reference