I am getting the exception while running the code - Cannot find the part of the path actually i am trying to delete the files in the temp folder…the code is running fine in Dev machine but when same code is executed in production machine i am getting this error.
In for each loop i am using the below code
Directory.getfiles(Environment.currentuser+”\Data\Temp”
And inside i am using delete file activity to delete the files but it is giving the above error.
The path is of project folder…but i guess we need to provide Environment .Currentdirectory+path the error is
Cannot find the part of the path this exception i am getting.
That may be because Temp folder was empty when you published the package. Empty folders doesn’t get published. So in RE framework placeholder.txt file comes by default.