Hello:

(The baseConfig has the additional include directories, that aren't included in the configuration of each file)

I was reviewing the project file and seems that for some
file sthe File configuration in the project has the AdditionalIncludeDirs attribute but as an empty string, so maybe it will be better to fix the VCConfiguration.GetToolSetting method to check for null and for the length, something like this:


internal string GetToolSetting(string toolName, string settingName) {
Hashtable toolSettings = (Hashtable) _htTools[toolName];
if (toolSettings != null) {
string setting = (string) toolSettings[settingName];
if (setting != null && setting.Length > 0) {
return ExpandMacros(setting);
}
}
if (_parentConfig != null) {
return _parentConfig.GetToolSetting(toolName, settingName);
}


           return null;
       }

(i have it changed but haven't tested it yet :))



--
Best regards

Carlos GuzmÃn Ãlvarez
Vigo-Spain

One ring to rule them all
(The lord of the rings - J.R.R.Tolkien)



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to