private void ChangeProjectJsonFiles(ImmutableDictionary <NuGetPackage, NuGetPackage> changeMap) { Console.WriteLine("Changing project.json files"); foreach (var filePath in ProjectJsonUtil.GetProjectJsonFiles(_repoData.SourcesDirectory)) { if (ProjectJsonUtil.ChangeDependencies(filePath, changeMap)) { Console.WriteLine($"\t{filePath} updated"); } } }