$ 0 0 I have used this way to add whole web publish but it seems if there is any file starting with .(dot), gives error. new Files(@"..\OutFiles\WebPublish\*.*")