protected internal override void ProcessReferences()
{
IReferenceContainer container = GetReferenceContainer();
if (null == container)
{
// Process References
ReferenceContainerNode referencesFolder = CreateReferenceContainerNode();
if (null == referencesFolder)
{
// This project type does not support references or there is a problem
// creating the reference container node.
// In both cases there is no point to try to process references, so exit.
return;
}
this.AddChild(referencesFolder);
container = referencesFolder;
var macroReferencesFolder = new NemerleMacroReferenceContainerNode(this);
this.AddChild(macroReferencesFolder);
macroReferencesFolder.LoadReferencesFromBuildProject(BuildProject);
}
// Load the referernces.
container.LoadReferencesFromBuildProject(BuildProject);
}