PDA

View Full Version : Possible bug with Delphi 2009 build configurations


btipton
10-27-2009, 06:55 PM
I believe there might be a bug in VBP with regards to compiling a Delphi program using a configuration other than the last one used from within the IDE. By looking at the command line generated by VBP when I try to use an alternate configuration file, the option "/configuration=" is being used, when the actual parameter should be "/config=". This may be pretty serious, because it means the script may not be using the "Release" settings when compiling if the last settings used in the IDE were the "Debug" settings.

I found this by accident, but found an explanation at Stack Overflow, here:

http://stackoverflow.com/questions/558147/delphi-msbuild-build-configuraions-from-command-line

Apparently, the Delphi help file was wrong about the parameter name.

I'm not a command line compiler expert, however, so if someone else could confirm that this is a problem, or if anyone has a suggestion as to how to work around this, I'd appreciate it.

kinook
10-28-2009, 08:12 AM
This is fixed in the latest download (VisBuildAct.dll 7.2.1.1 in Help | About | Install Info). Thanks.