internal void AddModuleLibraryReference(string libraryName, string moduleName)
{
var config = context.ProjectConfiguration;
if (!config.ResourceLibraries.ContainsKey(libraryName))
{
log.ErrorFormat("Module '{0}' is referencing non-existent library '{1}'", moduleName, libraryName);
return;
}
this.AddLibraryReference(libraryName);
}