Announcement

Collapse
No announcement yet.

SUF 6.0.0.0 bug: variable not substituted in project settings

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • SUF 6.0.0.0 bug: variable not substituted in project settings

    In Project settings / Build settings / Setup file name I have entered this:

    bps-%ProductVer%-win.exe

    I expect SUF to replace %ProductVer% by the product version entered in the General Design window, but it doesn't.

  • #2
    Re: SUF 6.0.0.0 bug: variable not substituted in project settings

    No, normal variables such as %ProductVer% are not expanded until runtime. The output settings only apply to build-time so they will not be expanded for variables. What you should do is go to Project > Settings > Design-time Constants and create a constant called #PRODUCTVER# and assign it the current product version. You could then use bps-#PRODUCTVER#-win.exe as the setup filename and this would work fine.

    - Brett

    Comment

    Working...
    X