Product: PowerShell Studio 2020 (64 Bit)
Build: v5.7.174
OS: Windows 10 Pro (64 Bit)
Build: v10.0.19592.0
When building a exe the Auto-Increment file version does not work correctly.
as per the attached screenshot, the resulting exe will be version 1.0.5.0 however the value is not updated in the .psbuild file, so all subsequent builds are also 1.0.5.0
Expected result would be that subsequent builds Auto-increment without having to manually update the version numbers
Auto-Increment file version does not work correctly
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Re: Auto-Increment file version does not work correctly
The version number will not increase if Script Packager tool is always open.
You need to restart Script Packager, or build packager from PowerShell Studio, then version will be increasing.
When checkbox is checked, the .psbuild will update value
AutoIncrementVersion=1
Every time you restarted Script Packager the value for these two will be updated
FileVersion=
ProductVersion=
You need to restart Script Packager, or build packager from PowerShell Studio, then version will be increasing.
When checkbox is checked, the .psbuild will update value
AutoIncrementVersion=1
Every time you restarted Script Packager the value for these two will be updated
FileVersion=
ProductVersion=
Re: Auto-Increment file version does not work correctly
I appreciate that, however I usually build from the Deploy Menu.
I have tried removing the .psbuild file and starting fresh, still with no luck
the build increments from the stored version e.g. if the psbuild file contains
FileVersion=1.2.1.0
ProductVersion=1.2.1.0
the output will be version 1.2.2.0
however subsequent builds do not increment as the psbuild file does not get updated.
I have even test with a fresh project.
and it is not Auto-Incrementing the values stored in the psbuild file.I have tried removing the .psbuild file and starting fresh, still with no luck
the build increments from the stored version e.g. if the psbuild file contains
FileVersion=1.2.1.0
ProductVersion=1.2.1.0
the output will be version 1.2.2.0
however subsequent builds do not increment as the psbuild file does not get updated.
I have even test with a fresh project.
Re: Auto-Increment file version does not work correctly
Note: there is a bit of the a delay in the Gif, however I build the exe twice, and show the properties on the exe after each build.
The build process increments from the stored value in the PSbuild file 1.0.1.0 to 1.0.2.0
however the build process does not update the psbuild file. so subsequent builds are also 1.0.2.0
The build process increments from the stored value in the PSbuild file 1.0.1.0 to 1.0.2.0
however the build process does not update the psbuild file. so subsequent builds are also 1.0.2.0
Re: Auto-Increment file version does not work correctly
I've been able to reproduce this issue and have informed the development team. It should be fixed in the next build of PowerShell Studio.
Brittney
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: Auto-Increment file version does not work correctly
Please try build 5.7.175 and let me know if this issue is resolved.
Brittney
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.