How to solve "Bad IL format. The format of the file 'C:\Users\botcreator\.nuget\packages\uipath.emgucvbundle\1.1.0\lib/net5.0/msvcp140.dll' is invalid."

This error and much more related to .dll files apear when compiling a project that constains the DocumentUnderstanding package. What do i need to do to solve it?

should be / in a directory string should always be \ unless dealing with websites