public void UpdateProjectVersion(ProjectVersion projectVersion, Guid guid) { GulpProject parsedProject = this.parsedProjects.FirstOrDefault(g => g.Guid == guid); projectVersion.Name = parsedProject.FileName; projectVersion.ProjectFile = parsedProject.FileName; projectVersion.ProjectType = ProjectType.GulpFile; projectVersion.SolutionFile = string.Empty; }
public void UpdateProject(Project project, Guid guid) { GulpProject parsedProject = this.parsedProjects.FirstOrDefault(g => g.Guid == guid); project.Name = parsedProject.FileName; }