How to call a recursive function inside an Invoke code activity?

  • ok, no static

  • ok, that makes sense since it is already inside a main method, it is not like i am calling the method from another function

  • Build acitvities like Copy File? In case you mean that, I could not copy a folder, or could I?

After reading your suggestion what I am doing right know is to put my Invoke method activity (with copydirectory) inside a try/catch block and set the overwrite value to false and it seems to work.