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