I’m using finalbuilder 4 (latest build) and I’m trying to have my assembly version auto incremented. I’ms ure this is easy and I’m just doing something wrong. WHat I have done so far is this.
1) Defined a PropertySet of type .Net Assembly Numbers.
2) Loaded the property set from FBD
3)Incremented the value
4) Saved the PropertySet to FBD
5) Defined a Variable
6) Used the PropertySet to Variable action (I can’t see my variable here, not sure why)
7) Used the AssemblyInfo Updater action to update my assembly info file (But I can’t finish setup because I can’t see my variable
Questions:
1) Am I doing this right or am I working to hard. Our version number is in the SharedAssemblyInfo.cs file.
2) Any ideas on why i can’t see my variable? I have tried it as a Project and a user variable. I have it marked as a Macro variable (also tried without that set). I currently do have a default value in it of just 3.0.1.0
Any help would be greatly appreciated.
Thanks,
Don Cockrell
Hi Don,
It’s best to create variables in the Edit Variables dialog from the Tools menu. When you define them here they appear straight away, whereas the Define Variable action doesn’t actually define the variable until the action runs (by which time it’s too late to select the variable from a drop down in an action property page).
cheers,
.t8