"the first import of this file will be used, ignoring others.",
import.EvaluatedProjectPath, existingImport.ContainedInProjectFileName);
- return false;
+ return true;
}
if (String.Compare (fullFileName, import.EvaluatedProjectPath) == 0) {
"The main project file was imported here, which creates a circular " +
"reference. Ignoring this import.");
- return false;
+ return true;
}
- if (!import.CheckEvaluatedProjectPathExists ())
+ if (project_load_settings != ProjectLoadSettings.IgnoreMissingImports &&
+ !import.CheckEvaluatedProjectPathExists ())
return false;
Imports.Add (import);