Make sure you are not missing any dependency DLLs. In my case, a DLL I was referencing had a dependency on another DLL.
If this is what happened, look at the "Inner Exception" property and then you will see a better error message. In my case, it said "Cannot find xxx.dll"