Hello,
I encounter this kind of messages on some of my projects, they also sometime disappear and reappear, without known change from me, I guess depending on the current status of the dproj file…
Error expanding ProgramID : [Expression Error]: Variable\Object “ModuleName” does not exist! [com.embarcadero.$(ModuleName?)]
This happens mostly on package compiling, I know it is a variable and I could set this variable before compiling the package, but as I have a lot of packages it is a bit annoying to do and does not take dproj changes dynamically in account.
Could Finalbuilder be aware of this variable or do I miss something ?
Used version is 8.0.0.2116
Thanks !!
Regards
Frederic
This is a bug in Delphi. If you look at the version info in Rad Studio, you will see entries like
com.embarcadero.$(ModuleName)
or $(ModuleName)
The $(ModuleName) variable is only available in the IDE, we have no way to resolve this.
The com.embarcadero.$(ModuleName) was only intended for android, however some dumb embarcadero developer decided to make it the default for all platforms!
The fix is to set propper values for the version info, or set the version info inside FinalBuilder (better option, since you are using FB for production builds).
OK thanks, I’ve cleaned the projects and now it works.