Set Build Specification Version VI

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

Owning Palette: Application Builder VIs

Requires: Base Development System

Sets the version information of a build specification. This VI sets the Major, Minor, Fix, and Build version numbers, which correspond to the version numbers on the Version Information page of the properties dialog box for the build specification. LabVIEW saves version information automatically only if you wire a path to this VI. Therefore, if you wire a project reference to this VI, you must manually save the project after you set the version information.

You can use this VI to set the version information for a stand-alone application, installer, .NET interop assembly, packed library, shared library, or source distribution.

Note  Installer build specifications contain only Major, Minor, and Fix version numbers.

This VI returns an error if you attempt to set version information for a zip file.

Use the pull-down menu to select an instance of this VI.

Set Build Specification Version (path)

Path to project specifies the full path to the LabVIEW project (.lvproj) file that contains the build specification.
Name of build specification specifies the name of the build specification for which you want to set version information. Enter the name that appears under Build Specifications in the Project Explorer window to set the version information of a build specification.
Name of target specifies the target that contains the build specification. The target is My Computer by default.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
Build Specification Version returns the version information of the build specification.
Major returns the major version. Increment this number to reflect significant feature changes.
Minor returns the minor version. Similar to the Major version number, increment this number to reflect minor feature changes.
Fix returns the fix version number. Increment this number for smaller changes, such as bug fixes.
Build returns the build number. Increment this number for nightly builds.
error out contains error information. This output provides standard error out functionality.

Set Build Specification Version (project reference)

Project reference specifies a reference to the LabVIEW project (.lvproj) that contains the build specification.
Name of build specification specifies the name of the build specification for which you want to set version information. Enter the name that appears under Build Specifications in the Project Explorer window to set the version information of a build specification.
Name of target specifies the target that contains the build specification. The target is My Computer by default.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
Build Specification Version returns the version information of the build specification.
Major returns the major version. Increment this number to reflect significant feature changes.
Minor returns the minor version. Similar to the Major version number, increment this number to reflect minor feature changes.
Fix returns the fix version number. Increment this number for smaller changes, such as bug fixes.
Build returns the build number. Increment this number for nightly builds.
dup Project reference returns an unchanged reference to the LabVIEW project that contains the build specification.
error out contains error information. This output provides standard error out functionality.

WAS THIS ARTICLE HELPFUL?

Not Helpful