Beispiel #1
0
 string GetPathOneDirectoryBelowParentProjectItem()
 {
     string[] parentDirectories = ParentProjectItem.GetIncludePath().Split('\\');
     string[] directories       = MSBuildProjectItemDirectory.Split('\\');
     return(String.Join(@"\", directories.Take(parentDirectories.Length + 1).ToArray()));
 }
Beispiel #2
0
 bool IsChildItem()
 {
     return(ParentProjectItem.IsChildItem(MSBuildProjectItem));
 }
Beispiel #3
0
 bool IsInChildDirectory()
 {
     return(MSBuildProjectItemDirectory.StartsWith(ParentProjectItem.GetIncludePath()));
 }