Product, version and build: Powershell Studio 5.8.188
Operating system: Windows 10 20H2 Latest Updates
PowerShell version(s): 5.1.19041.906
I think this is a bug:
When I set the Auto-increment file version and build the file version does not increment.
This has worked in previous version of Powershell Studio as I like to increase the version of the file but have not been able to in the version so I am manually increasing the version.
Regards
Rodney
BUG:: Deploy Setting Auto-increment file version not working
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.
- sapowernetworks
- Posts: 9
- Last visit: Tue Mar 05, 2024 3:56 pm
- Has voted: 1 time
Re: BUG:: Deploy Setting Auto-increment file version not working
Thank you for reporting. We are aware of this issue and it has been fixed for the next service release.
Brittney
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- sapowernetworks
- Posts: 9
- Last visit: Tue Mar 05, 2024 3:56 pm
- Has voted: 1 time
Re: BUG:: Deploy Setting Auto-increment file version not working
I have just updated to version 5.8.190.
and still the auto-increment does not work.
Regards
Rodney
Re: BUG:: Deploy Setting Auto-increment file version not working
I have not been able to reproduce this behavior in build 5.8.190 when packaging.
The output was also updated to include when version numbers are automatically incremented: Can you please provide a screenshot of what you are seeing in the Tools Output when building?
The output was also updated to include when version numbers are automatically incremented: Can you please provide a screenshot of what you are seeing in the Tools Output when building?
Brittney
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- sapowernetworks
- Posts: 9
- Last visit: Tue Mar 05, 2024 3:56 pm
- Has voted: 1 time
Re: BUG:: Deploy Setting Auto-increment file version not working
Before the build
The build
After the build
The version information does not increase, if I open the project built the exe and close the project it does not ask to save and the version information does not update, the next time I build I get the same version 1.4.1.0.- sapowernetworks
- Posts: 9
- Last visit: Tue Mar 05, 2024 3:56 pm
- Has voted: 1 time
Re: BUG:: Deploy Setting Auto-increment file version not working
So in the mean time I have created a script that I run in the post-build command that updates the file and product version numbers of the package section of the projects .psproj.psbuild file.
Hope you can fix this in the next release.
Regards
Hope you can fix this in the next release.
Regards
Re: BUG:: Deploy Setting Auto-increment file version not working
Are you building from PowerShell Studio or SAPIEN Script Packager?
If you are building from PowerShell Studio with SAPIEN Script Packager open, SAPIEN Script Packager will not update the version information in application.
Can verify that the executable itself in the bin folder is not auto incrementing?
Can you please submit your project or a sample project demonstrating this behavior:
https://www.sapien.com/support/upload
If you are building from PowerShell Studio with SAPIEN Script Packager open, SAPIEN Script Packager will not update the version information in application.
Can verify that the executable itself in the bin folder is not auto incrementing?
Can you please submit your project or a sample project demonstrating this behavior:
https://www.sapien.com/support/upload
Brittney
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- sapowernetworks
- Posts: 9
- Last visit: Tue Mar 05, 2024 3:56 pm
- Has voted: 1 time
Re: BUG:: Deploy Setting Auto-increment file version not working
Hi Brittney,
I am using Powershell Studio,
I open PSS, File - New - Project - Form Project - Give the project a name - Create.
I then pick for this an Empty Form.
Add some buttons to the form.
click deploy - settings
click Version information - Auto-increment file version is ticked.
Save and exit the Script Packager.
now I build the exe from PSS.
Yes the file versions do increase from 1.0.1.0 to 1.0.2.0 and the file.exe version is 1.0.2.0.
but if I build it again it is the same and will not change.
go back into deploy - settings and the versions are still 1.0.1.0
so I have a script that I now run:
click on Deploy - Settings
Build Commands - Post-build commands
This script opens the <projectname>.psproj.psbuild file and writes it back out with the fileversion and productversion values increased.
This is working for me and when I do a major version increase I manually change the versions.
Hope this is enough information if not let me know.
Regards
I am using Powershell Studio,
I open PSS, File - New - Project - Form Project - Give the project a name - Create.
I then pick for this an Empty Form.
Add some buttons to the form.
click deploy - settings
click Version information - Auto-increment file version is ticked.
Save and exit the Script Packager.
now I build the exe from PSS.
Yes the file versions do increase from 1.0.1.0 to 1.0.2.0 and the file.exe version is 1.0.2.0.
but if I build it again it is the same and will not change.
go back into deploy - settings and the versions are still 1.0.1.0
so I have a script that I now run:
click on Deploy - Settings
Build Commands - Post-build commands
This script opens the <projectname>.psproj.psbuild file and writes it back out with the fileversion and productversion values increased.
This is working for me and when I do a major version increase I manually change the versions.
Hope this is enough information if not let me know.
Regards
Re: BUG:: Deploy Setting Auto-increment file version not working
I still have not been able to replicate this behavior in build 190 or 191.
Do you only experience this behavior when packaging projects? Does this also happen when packaging single scripts?
Can you please submit your project or a sample project demonstrating this behavior:
https://www.sapien.com/support/upload
Do you only experience this behavior when packaging projects? Does this also happen when packaging single scripts?
Can you please submit your project or a sample project demonstrating this behavior:
https://www.sapien.com/support/upload
Brittney
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- sapowernetworks
- Posts: 9
- Last visit: Tue Mar 05, 2024 3:56 pm
- Has voted: 1 time
Re: BUG:: Deploy Setting Auto-increment file version not working
I have uploaded some files.
I have the same problem with a project or single form.
Regards
Rodney
I have the same problem with a project or single form.
Regards
Rodney