I'm implementing IDotNetActivity
while working on CustomActivity
.
I want to read a file name that exists on input dataset at folder path adftutorial/customactivityinput/abc.txt
, update some text and finally copy the result at output dataset adftutorial/customactivityoutput/xyz.txt
.
while reading file abc.txt
I'm getting System.IO.FileNotFoundException
occurred in MyDotNetActivity.dll
.
I'm looking help on some method which could give me complete path like <AzureCloutDirectory> + filename
.
Please advise what is the best approach or the way to load text file.
Thank you!