private static void UpdateSolutionFile(ProjectInSolution project,
                                               SolutionFile slnFile,
                                               bool preview)
        {
            Log.Verbose($"Updating the solution file '{slnFile.FilePath}'");
            slnFile.UpdateProject(project);
            if (!preview)
            {
                slnFile.SaveToDisk();
            }

            Log.Verbose("Updated.");
        }