Get Build Specification Version (project reference) VI
- Updated2025-07-30
- 4 minute(s) read
Gets the version information of a build specification. This VI returns 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.
You can use this VI to get the version information for a stand-alone applications, installers, .NET interop assemblies, packed libraries, shared libraries, and source distributions.
This VI returns an error if you attempt to get version information for a zip file.

Inputs/Outputs
Project reference
—
Project reference specifies a reference to the LabVIEW project (.lvproj) that contains the build specification.
Name of build specification
—
Name of build specification specifies the name of the build specification for which you want to get version information. Enter the name that appears under Build Specifications in the Project Explorer window to retrieve the version information of a build specification.
Name of target (My Computer)
—
Name of target specifies the target that contains the build specification. The target is My Computer by default.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
dup Project reference
—
dup Project reference returns an unchanged reference to the LabVIEW project that contains the build specification.
error out
—
error out contains error information. This output provides standard error out functionality.
Build Specification Version
—
Build Specification Version returns the version information of the build specification.
|
The following block diagram displays a common use case of how this VI works with the Set Build Specification Version VI and Build VI to manage an automatic nightly build process.
![]() |
Get Build Specification Version.vi—Gets the Major, Minor, Fix, and Build version numbers after reading a project path or project reference. |
![]() |
In Place Element Structure—Reads the Major, Minor, Fix, and Build version numbers returned by the Get Build Specification Version VI and increments only the Build version number. |
![]() |
Set Build Specification Version.vi—Sets the new version information with an incremented Build number. |
![]() |
Build.vi—Creates the new build output with the new version information. |
Project reference
—
Name of build specification
—
error in (no error)
—
dup Project reference
—
error out
—
Build Specification Version
—
Major
—



