I was using windows compatibility before it didn’t give me any errrors and I used the same activity same operator but now this is legacy. How do i go about fixing this, someone assist tried looking for a solution but non
looks like your for loop type argument is object…please change it to string
or else use Path.Combine(Environment.CurrentDirectory,Currentitem.ToString)
The issue is because Environment.Currentdirectory is of string type and currentitem is out object…you cna convert object to string usign .ToString method
and generally for combining paths it is good to use path.Combine instead of combining directly to avoid extra slashes(/)