PDA

View Full Version : Custom File & Product Versions using variables


JXBURNS
08-06-2008, 05:40 PM
These two fields allow the INSERT VARIABLE option so thought OK let's insert %ProductVar% to save having to set it 3 times in the project. However when it compiles it does not use the variable at all replacing with '0.0.0.0'.

The help file suggests (correctly) that only digits are allowed as per normal file numbering conventions which then begs the question why the INSERT VARIABLE option is even allowed. Instead I would suggest an input mask be used to ensure the correct format is used.

Rgds John

Darryl
08-07-2008, 09:17 AM
Hi John,

Session variables are runtime variables and those are build settings. The Insert Variable dialog was made available for design time constants which are also in that list and supported.

Hope that helps explain a little more.