Delphi xe2 unit aliases

With XE2 compiling both for FireMonkey and the vcl many of the unit source code file have vcl or fmx as a prefix.  I have a large number of "file not found" messages which I can fix by adding to UnitAliases eg forms=vcl.forms.  Shouldn't FinalBuilder add this vcl prefix itself since I have FrameWorkType = vcl?

Hi Martin

FinalBuilder will add a bunch of Namespace prefixes based on the detected framework type. This is what it sets as the default when you load a vcl projects settings from the project file :

System;Xml;Data;Datasnap;Web;Soap;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;System;Xml;Data;Datasnap;Web;Soap;Winapi;System.Win;Data.Win;Web.Win;Soap.Win;Bde;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;

This is on the Directories property page. If there are others you need then you can add them to the list. We made a best guess on this, based on some trial and error because embarcadero chose not to document this and the only place that it exists is in their msbuild support. The project file just has a frameworktype property, that’s it.

Thanks Vincent. That list will be useful for re-building projects from older versions of Delphi. I tried the ‘reload settings’ button, which also worked.

Thanks
Martin