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