The way to the solution |
Variants to find a solution.
#region --- analyse object ProjectItem propery Kind --- //- begin code - lClasses.Add("__Project: " + lProject.Name.ToString()); foreach (ProjectItem lProjectItem in lProject.ProjectItems) { lClasses.Add("______Projectitem: " + lProjectItem.Name.ToString() + " is a Kind: " + lProjectItem.Kind.ToString()); } //- end code - //** analyse: a example output (they all have the same GUID): ** // ______Projectitem: Client.cs is a Kind: {6BB5F8EE-4483-11D3-8BCF-00C04F8EC28C} //** conclusion: can't be used because they all have the same GUID ** #endregion
Pattern
It's analysis is complete. It is advisable to leave the program code because later the solution steps can be understood.
Do it disable code sequence between mark "begin code" and "end code"
#region --- $title$ --- //- begin code - $code$ //- end code - //** analyse: $analyse$ ** //** conclusion: $conclusion$ ** #endregion