public void Process(SolutionFile solutionFile) { var basePath = solutionFile.FullPath.Parent; var relativePath = absolutePath.PathFrom(basePath); var project = new SolutionProject(relativePath, basePath, SolutionProject.CsProjProject, fileSystem); // It would be nicer if we could figure out the type by reading the destination file. solutionFile.Add(project); }
protected override void ProcessSolution(SolutionFile toSolution, Reconciliation<SolutionProject> reconciliation) { foreach (var project in reconciliation.Removed) { toSolution.Add(project); } }