Пример #1
0
        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;
        }
Пример #2
0
        public void UpdateProject(Project project, Guid guid)
        {
            GulpProject parsedProject = this.parsedProjects.FirstOrDefault(g => g.Guid == guid);

            project.Name = parsedProject.FileName;
        }