Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception thrown: 'System.BadImageFormatException' in mscorlib.dll #57

Open
mmanka1 opened this issue Feb 18, 2018 · 0 comments
Open

Exception thrown: 'System.BadImageFormatException' in mscorlib.dll #57

mmanka1 opened this issue Feb 18, 2018 · 0 comments

Comments

@mmanka1
Copy link

mmanka1 commented Feb 18, 2018

Hi, I have been trying to resolve a runtime problem with the source project I cloned from the master branch. I am getting the following error:

LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Attempting download of new URL file:///C:/Users/mmanka/ACATProject/acat/src/Applications/ACATApp/bin/Debug/Extensions/Default/Actuators/VisionActuator/opencv_videostab2412.dll.
ERR: Failed to complete setup of assembly (hr = 0x80131018). Probing terminated.

Additional Information:
Exception thrown: 'System.BadImageFormatException' in mscorlib.dll
DEBUG:[ACAT.Lib.Core.ActuatorManagement][Actuators.onFileFound] Could not get types from assembly. Exception : System.BadImageFormatException: Could not load file or assembly or one of its dependencies. The module was expected to contain an assembly manifest.

There seems to be a problem loading the assemblies (.dll) compiled, but I am not sure if a runtime compatibility problem is to blame for the mismatch in the format of the .dll assemblies. I tried changing the project build target in Visual Studio from 'X86' to 'Any CPU', but the same problem arised. I am using the .NET target framework version v4.5 and working in Visual Studio 2017 (32-bit) on a Windows 10 computer.

Any help would be greatly appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant