I would like to count lines in a project using code in a VB form. Need
EnvDTE as an Imports statement. Can this be done?
If so, I would then recode the following into VB:
foreach (EnvDTE.Project project in applicationObject.Solution.Projects)
{
LocalLines=0;
foreach (EnvDTE.ProjectItem item in project.ProjectItems)
{
count(item);
}
report.AppendFormat("{0}: {1} lines\r\n", project.Name, LocalLines);
Lines+=LocalLines;
}
Thanks,
Dean Slindee