Creating Build Specifications

In the Project Explorer window, expand My Computer, right-click Build Specifications, select New�your application type from the shortcut menu. Use the following dialog boxes to configure settings for the build specification:

After you define these settings, click the OK button to close the dialog box and update the build specification in the project. The build specification appears under Build Specifications.

Right-click a specification and select Build from the shortcut menu to complete the build. You also can build the application programmatically using the Build VI or the ExecuteBuildSpec command line operation.

You also can select Build All from the shortcut menu to build all specifications under Build Specifications.

If you rebuild a given specification, LabVIEW overwrites the existing files from the previous build that are part of the current build. However, if you enable the Auto increment checkbox�or the Auto increment product version checkbox for installers�on the Version Information page, and you use the [VersionNumber] or [ProductVersion] tags in the appropriate build destination fields, LabVIEW creates a new directory that includes the version number instead of overwriting the previous build on disk.

Note��You must save a project to create build specifications. If you use an unsaved project, LabVIEW prompts you to save before opening the dialog box you use to configure each build specification.

Refer to the Generate Programmatic Build Command Line String VI in the labview\examples\Application Control\Application Builder API directory for an example of building a project build specification from the command line.

Open example� Find related examples

Related Information

Developing and Distributing an Application