Hi, May I kindly know following GetFiles error when I get latest file from folder.
Please kindly help me.
ERROR “Compiler error(s) encountered processing expression “Directory.GetFiles(“C:\Users\A\OneDrive\Desktop\filpath”,”*.xlsx”).OrderByDescending(Function(d) New FileInfo(d).CreationTime).Tolist(0)".
‘Directory’ is ambiguous, imported from the namespaces or types ‘Microsoft.Graph, System.IO’. Main.xaml"