04-03-2009 02:42 PM
Goal: Have a script to increment the version and build the labview application using Labview 8.0
Currenly, I found the NI article Programmatically Build Applications in LabVIEW where you can build different build application from the command-line using the BuildTargetBuildSpecification.vi
I am only missing how to update/modify/increment the build/version number information from the command-line.
I tried to look at the .../resource/appbuild folder where some vi that could be interesting can be found: (but they all are locked!!)
Is there any way to perform this operation?
Thanks
EricG
04-06-2009 03:55 PM
Hi Gig52,
Unfortunately, there is no way for you update/modify/increment the build/version number information from the command line. You will have to set that via the Project Explorer. You could check the box labeled Auto Increment in the Version Information property to have the version number automatically increment each time you build your application.
04-06-2009 04:52 PM
Is it absolutely required that it work from the command-line?
JKI talked about a one-click build solution here.
You could possibly extend that to include updating the project properties programmatically.
04-06-2009 04:58 PM