Partager via


BUILD APP Command

Creates an application file with an .app file name extension using information from a project file.

BUILD APP APPFileName FROM ProjectName [RECOMPILE]

Parameters

  • APPFileName
    Specifies the file name of the application to build. The default file name extension is .app.
  • FROM ProjectName
    Specifies the name of the project from which the application is built.
  • RECOMPILE
    Specifies that the project be compiled before the application file is built. All program and format files; form, label, report, and visual class library source code; and stored procedures in databases in the project are compiled.

Remarks

You create a project file with CREATE PROJECT or MODIFY PROJECT. A project file is a table that uses the file extensions .pjx (table file) and .pjt (memo file).

Before using BUILD APP, be sure that the project file contains all of the files needed in the application. If required files are missing during the build, Visual FoxPro generates an error. These and other compile-time errors are stored in an error file with an .ERR file extension. The first eight characters of the error file name are the same as the first eight characters of your project name.

For more information on building projects, see Compiling an Application.

See Also

BUILD EXE | Build Method | BUILD PROJECT | CREATE PROJECT | MODIFY PROJECT