Converting from windows legacy to windows

image


Hi everyone i have encountered with this issue while converting from windows legacy to windows can anyone please help me with this

Hi @sahfarooq

Check the below thread

Regards

1 Like

This happens because the imports were lost. For the LastModified, just retype the expression from scratch so it’ll redo the imports.

For the cannot infer element type error there are tons of posts on this already, with the answer…so it’s good to search the forum for your error message because you’ll find the answer right away.

1 Like

I did retype, it was not working

for the first:
try as Paul suggested and retype

For the second
Prepend new Object() before
new Object(){in_Das.........}

Also have a look here:

UPD1/2 - Typos and Append vs Prepend fix

1 Like

Open the “value to save” in expression editor, clear it out, save. Then reopen it and retype it. If you don’t clear it out first, it won’t see anything new and won’t redo the imports.

1 Like

It was same i did try this

@sahfarooq
when the first issue persists (after deletion, save-paste again), then let us know

  • the entire Statement
  • Version of the used UiPath.System.Activities

So we can check also rewrite options e.g. to LastWriteTime…