Cannot Run Invoke Code on Studio v18.2.0 Error compiling code BC2000 NLog.dll


This issue is related to missing activities. I have seen similar issue with my project last month, my workflow was working well without any issue and suddenly found that it started giving error message related to <>.DLL

We have raised the ticket with UiPath, They have suggested to validate missing packages or dependent packages. We verified and found all packages are in place.

Finally we uninstall Uipath Studio and Reinstalled, It resolved the issue without any code.

To me, this issue looks same. If it is possible, I would recommend you to reinstall UiPath Studio to resolve this issue.

If you are running this process on unattended bot, I would recommend you to install UiPath Studio, compile the code, run it and uninstall studio.