Esempio n. 1
0
 public string GetAbsolutePath(string path)
 {
     path = Environment.ExpandEnvironmentVariables(path);
     if (vars != null && path.IndexOf('$') >= 0)
     {
         foreach (BuildEventInfo arg in vars)
         {
             path = path.Replace(arg.FormattedName, arg.Value);
         }
     }
     return(ProjectPaths.GetAbsolutePath(this.Directory, path));
 }
Esempio n. 2
0
 public string GetAbsolutePath(string path)
 {
     path = Environment.ExpandEnvironmentVariables(path);
     return(ProjectPaths.GetAbsolutePath(this.Directory, path));
 }
Esempio n. 3
0
 public string GetRelativePath(string path)
 {
     return(ProjectPaths.GetRelativePath(this.Directory, path));
 }