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.


icon

Inputs/Outputs

  • cprjrn.png Project reference

    Project reference specifies a reference to the LabVIEW project (.lvproj) that contains the build specification.

  • cstr.png Name of 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.

  • cstr.png Name of target (My Computer)

    Name of target specifies the target that contains the build specification. The target is My Computer by default.

  • cerrcodeclst.png error in

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • cnclst.png Build Specification Version

    Build Specification Version returns the version information of the build specification.

  • cu16.png Major

    Major returns the major version. Increment this number to reflect significant feature changes.

  • cu16.png Minor

    Minor returns the minor version. Similar to the Major version number, increment this number to reflect minor feature changes.

  • cu16.png Fix

    Fix returns the fix version number. Increment this number for smaller changes, such as bug fixes.

  • cu16.png Build

    Build returns the build number. Increment this number for nightly builds.

  • iprjrn.png dup Project reference

    dup Project reference returns an unchanged reference to the LabVIEW project that contains the build specification.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.