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

            project.UpdateReferences (frameworkProject.FileReferences.Keys);
        }
 public void UpdateReferences(ProjectId projectId, FrameworkProject frameworkProject)
 {
     DnxProject project = FindProject (projectId);
     if (project != null) {
         UpdateReferences (project, frameworkProject);
     }
 }
 public void OnReferencesUpdated(ProjectId projectId, FrameworkProject frameworkProject)
 {
     DispatchService.GuiDispatch (()  => {
         var maintainer = new AspNetProjectReferenceMaintainer (context);
         maintainer.UpdateReferences (projectId, frameworkProject);
     });
 }
 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 DnxFramework(FrameworkProject project)
 {
     Name = project.Framework;
     FriendlyName = project.FriendlyName;
     ShortName = project.ShortName;
 }
 public void ReferencesUpdated(ProjectId projectId, FrameworkProject frameworkProject)
 {
     DnxServices.ProjectService.OnReferencesUpdated (projectId, frameworkProject);
 }