Beispiel #1
0
 public virtual void SetCompileTarget(string path, bool isCompileTarget)
 {
     if (isCompileTarget)
     {
         compileTargets.Add(GetRelativePath(path));
     }
     else
     {
         compileTargets.Remove(GetRelativePath(path));
     }
 }
Beispiel #2
0
        public virtual void SetCompileTarget(string path, bool isCompileTarget)
        {
            string relPath = Path.IsPathRooted(path) ? GetRelativePath(path) : path;

            if (isCompileTarget)
            {
                compileTargets.Add(relPath);
            }
            else
            {
                compileTargets.Remove(relPath);
            }
        }