Delphi 2010 Compile Action Use Project Search Path Issue

I copied and pasted a Delphi 2009 compile action and changed all of the action properties to be Delphi 2010 compatible instead (different dpr, rename action, change Delphi compiler version dropdown, etc.).  I then tried to build and the D2009 action continues to work, but the D2010 copy does not (compiler error: "Fatal: F1026 File not found: 'XYZ.inc'").  The issue is apparently that the "Always use search path from project settings file" checkbox for the search path does not function for Delphi 2010 compiles.  The project builds fine in the IDE, and if I copy the IDE's search path into FB and turn off that checkbox, it also builds fine.  Maybe FB isn't reading the paths properly for Delphi 2010 project files?

The .inc file the compiler can't find is in Framework\ (a subdirectory just under the path of the .dpr).  It is a relative directory, in case that is related.  The .dproj contains this:

Framework;..\ExternalSource;..\ExternalSource\Abbrevia;..\ExternalSource\UniSynEdit;$(DCC_UnitSearchPath)

The working search path text in FB is: Framework;..\ExternalSource;..\ExternalSource\Abbrevia;..\ExternalSource\UniSynEdit

I'm running the latest FB 6.3.0.1712.  Let me know what other info I can provide.

Hi Eric

I'm not able to reproduce this, however I suspect what is happening is you have not selected the correct Config on the Action's Project tab.

Search paths in D2009/2010 are stored against a config, and use inheritance from the base config. We had to jump through hoops to make this work in FB because of the way the data is stored in the dproj file.

projectconfig.jpg