Example #1
0
 public virtual void SetCompileTarget(string path, bool isCompileTarget)
 {
     if (isCompileTarget)
     {
         compileTargets.Add(GetRelativePath(path));
     }
     else
     {
         compileTargets.Remove(GetRelativePath(path));
     }
 }
Example #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);
            }
        }