tfsbuild - Excluding an entire folder / contents from 'Copy Files' step in TFS 2017 build definition -


i'm struggling getting tfs build definition exclude entire folder , of contents "copy files" step, shown here: enter image description here

here's i'm trying do:

copy everything except folder named 'node_modules' from:

\\test\source 

to:

\\test\destination 

the path of folder need exclude is:

\\test\source\appsjs\v3\node_modules 

i can exclude files using same pattern have above, can't figure out how exclude entire folder.

i've seen suggesting using -: well, haven't been able work.

i've tried looking @ "copy files" documentation here, , read more here , here, i'm still missing something.

any appreciated!

you should set contents 2 lines as:

**\** !appsjs\v3\node_modules\** 

Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

c# - Update a combobox from a presenter (MVP) -

android - Unable to generate FCM token from dynamically instantiated Firebase -