Inside my assign activity:
' foundfiles is IEnumerable(of String) foundFiles.Where(Function(file As String) FileNameBlacklist.Any(Function(blacklistItem) System.IO.Path.GetFileName(file).StartsWith(blacklistItem)) = False)
Not sure if this or the subsequent access was failing, however changing it to this fixed it:
foundFiles.Where(Function(file As String) FileNameBlacklist.Any(Function(blacklistItem) System.IO.Path.GetFileName(file).StartsWith(blacklistItem)) = False).ToList().AsEnumerable
No comments:
Post a Comment