Partager via


Build Options Dialog Box

Makes it possible for you to create a custom application or rebuild an existing project.

This dialog box appears when you choose Build on the Project menu, which appears when a project is open, or Build in the Project Manager.

Build Action

  • Rebuild project
    Creates and builds a project file. This option corresponds to the BUILDPROJECT command. For more information, see BUILD PROJECT Command.

  • Application (app)
    Builds the project, compiles outdated files, and creates an application (.app) file. This option corresponds to the BUILD APP command. For more information, see BUILD APP Command.

  • Win32 executable / COM Server (exe)
    Creates an executable (.exe) file from a project. This option corresponds to the BUILD EXE command. For more information, see BUILD EXE Command.

  • Single-threaded COM server (dll)
    Creates a dynamic-link library (.dll) file using class information from the project file. This option corresponds to the BUILD DLL command that points to the run-time library, VFPVersionNumberR.dll. VersionNumber represents the version number for this release of Visual FoxPro. For more information, see BUILD DLL Command.

  • Multi-threaded COM server (dll)
    Creates a multithreaded dynamic-link library (.dll) file using class information from a project file. This option corresponds to the BUILD MTDLL command that points to the run-time library, VFPVersionNumberT.dll. VersionNumber represents the version number for this release of Visual FoxPro. For more information, see BUILD MTDLL Command.

Options

  • Recompile All Files
    Recompiles all files in the project, creates an object file for each source file, and includes compilation error messages in an error (.err) file during the build process. Otherwise, only files that have been modified since the last build are recompiled. For more information, see How to: View and Save Build Messages.

  • Display Errors
    Displays compilation errors in an editing window after the build process completes and includes build status and error messages in an error (.err) file during the build process. For more information, see How to: View and Save Build Messages.

  • Run After Build
    Specifies whether you want the application to run after it has been built.

  • Regenerate Component IDs
    Installs and registers Automation servers contained in the project.

    When selected, this option specifies that new Globally Unique Identifiers (GUIDs) are generated when you build a program. Only those classes marked OLE Public in the Class Info dialog box of the Class menu will be created and registered. This option is enabled when you have marked Build OLE DLL or Build Executable and have already built a program containing the OLEPublic keyword. For more information, see Class Info Dialog Box.

  • Version
    Displays the EXE Version dialog box, which makes it possible for you to specify information for the version number and the type of version. This button is available when you select Build Executable or Build OLE DLL in the Build Options dialog box. For more information, see EXE Version Dialog Box.

See Also

Reference

Editing Window

Project Manager Window

Other Resources

Dialog Boxes (Visual FoxPro)