예제 #1
0
 private static string GetProjectPropertiesInfo(EnvDTE.Project project)
 {
     var res = new StringBuilder();
     if (Utilities.GuidEquals(Guids.NodejsBaseProjectFactoryString, project.Kind)) {
         res.AppendLine("Kind: Node.js");
         foreach (var prop in _interestingDteProperties) {
             res.AppendLine(prop + ": " + GetProjectProperty(project, prop));
         }
         var njsProj = project.GetNodejsProject();
         if (njsProj != null) {
             res.AppendLine(GetNodeJsProjectProperties(njsProj));
         }
     } else {
         res.AppendLine("Kind: " + project.Kind);
     }
     return res.ToString();
 }