I've run into an inconsistency between const data defined on the publish->settings->constants tab and the data that overrides it in an ini file.
If you try to define a constant in the form of a version number as:
_TARGET_VERSION "7.1.76.0" <-- Constant in build settings
and
[Constants]
_TARGET_VERSION="7.1.76.0" <-- Ini file
If you try to assign the const to a variable in a script that has been overriden by the ini file, you will get a "malformed number near '.76.0'".
The work around is to have the ini file look like this:
[Constants]
_TARGET_VERSION=""7.1.76.0"" <-- Extra quotes.
This is not necessarily a bug, but it could save some time if it was documented.
Thanks,
Casey.

Reply With Quote
