예제 #1
0
 /// <summary>
 /// Retrieves the code file extension for the project.
 /// </summary>
 /// <param name="project">The project.</param>
 /// <returns></returns>
 public static string GetDefaultExtension(Project project)
 {
     if (DteHelper.IsWebProject(project))
     {
         return(IsWebCSharpProject(project) ? ".cs" : ".vb");
     }
     return(DteHelper.GetDefaultExtension(project));
 }