When running a published workflow, or debugging the same C# Windows workflow, even before the first activity executes (where breakpoint is set), the following message occurs in the Windows Application Event Viewer log (Press F5 to refresh this log). I tried updating the UiPath.EmguCVBundle, but the errors persists.
How can I resolve this issue in my UiPath C# Windows workflow?
Windows Application Log Entry:
System.BadImageFormatException: Bad IL format. The format of the file ‘C:\Users\Me\.nuget\packages\UiPath.emgucvbundle\1.1.0\lib/net5.0/concrt140.dll’ is invalid.
Note: There are more messages after the one above all relating to UiPath.emguCVbundle.
We have seen this erros with some version but with no functional impactb. Can you confirm if this is impacting your execution and what is the version of Studio/Robot used? Also would help if you can share the dependcies tree of your project (as the issue might be within the Document Understanding package)
Per Rick Stuckey’s (KeyMark) research, the issue starts with UiPath.UIAutomation.Activities 23.10.13 and higher.
Emgu is a standard of some sort having to do with making objects compatible across platforms, Windows, Linux, ios, Android, etc. CV Bundle is the Computer Vision Activities.
UiPath developers may not even know there is an issue.