I am facing an issue with deleting / moving a file (Image) after I load it. I think the reason for that is that Image is still used by the UiPath memory (so it´s locked).
My question is what should I do to release the resource so I can delete the Image.
I tried to invoke Dispose() method, but it didn´t help (probably I done it wrong).
Setting Image variable to Nothing or either loading another Image didn´t help as well.
As the error says this is causing because the image is used by another process, so check which process it’s using and kill that process before deleting.
Thanks for the response, but actually the process using the file is UiPath robot itself, when I terminate the workflow in studio I can delete the file manually.