0xc000007b is "STATUS_INVALID_IMAGE_FORMAT". From experience, this points me to the project properties.
A few things worth checking out:
- Check to see if all the build options are set to either x86 or x64, depending on your system architecture, or AnyCPU.
- If you're using dlls, consider whether they were compiled for your target architecture or not. If not, then recompile them accordingly or get them in the right version from wherever you got them.
- Finally, check if your project assembly and loaded assemblies have different names. That seems to make things go boom as well.