@staticmethod
def set_solution_dirs_to_projects(projects_data, solution_folders_map,
    solution_folders):
    """ Evaluate locations of projects in Solution explorer tree of Visual Studio UI """
    for project_guid in projects_data:
        project_solution_dir = ''
        if project_guid in solution_folders_map:
            guid = project_guid
            while guid in solution_folders_map:
                if project_solution_dir:
                    project_solution_dir = '/' + project_solution_dir
                project_solution_dir = solution_folders[
                    solution_folders_map[guid]] + project_solution_dir
                guid = solution_folders_map[guid]
        projects_data[project_guid]['project_solution_dir'
            ] = project_solution_dir
