private static string GetFrameworkVersion(Project project) { if (project.IsFramework4()) return "v4.0"; else return "v3.5"; }