void UpdateReferences(DnxProject project, FrameworkProject frameworkProject)
        {
            if (!project.IsCurrentFramework (frameworkProject.Framework, frameworkProject.Project.ProjectsByFramework.Keys))
                return;

            project.UpdateReferences (frameworkProject.FileReferences.Keys);
        }
        void UpdateReferences(DnxProject project, FrameworkProject frameworkProject)
        {
            if (!project.IsCurrentFramework(frameworkProject.Framework, frameworkProject.Project.ProjectsByFramework.Keys))
            {
                return;
            }

            project.UpdateReferences(frameworkProject.FileReferences.Keys);
        }
 public void OnReferencesUpdated(ProjectId projectId, FrameworkProject frameworkProject)
 {
     DispatchService.GuiDispatch(() => {
         var locator        = new DnxProjectLocator(context);
         DnxProject project = locator.FindProject(projectId);
         if (project != null)
         {
             project.UpdateReferences(frameworkProject);
         }
     });
 }
 public void OnReferencesUpdated(ProjectId projectId, FrameworkProject frameworkProject)
 {
     Runtime.RunInMainThread(() => {
         var locator        = new DnxProjectLocator(context);
         DnxProject project = locator.FindProject(projectId);
         if (project != null)
         {
             project.UpdateReferences(frameworkProject);
         }
     });
 }