public static string GetFullPath(this ProjectConfigurationInfo configInfo, SourceFolder folder) => Path.Combine(Path.GetDirectoryName(configInfo.Filepath), folder.Subpath);
public static DirectoryInfo GetDirectoryInfoFor(this ProjectConfigurationInfo configInfo, SourceFolder folder) => new DirectoryInfo(configInfo.GetFullPath(folder));