INITIALIZATION: Unable to load the specified dependency

I updated Studio yesterday as requested, but the same workflow that was working fine previously is now unable to compile because of a dependency load failure, specifically: ‘C:\Users\uname.nuget\packages\UiPath.emgucvbundle\1.3.0\lib/net6.0/libusb-1.0.dll’. Reason was: ‘LoadFromFailure. Bad IL format. The format of the file ‘C:\Users\uname.nuget\packages\UiPath.emgucvbundle\1.3.0\lib/net6.0/libusb-1.0.dll’ is invalid.’.

I’ve reinstalled dependencies in particular the Automation package as this references this computer vision bundle, but no joy. Anyone seen this or know what the solution is?

mistype by me uname should have a \ before the .nuget

Hi @ChrisC

Can you check on the below thread

Hope it helps!

I appear to have solved it by switching off the anti-virus software, rebooting and restarting UiPath and recompiling the workflow. I saw that the workflow needs to load the emgucvbundle, which it did successfully. All seems to be well. I think the anti-virus software may have interfered with the package download and corrupted the file(s).

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.