I am developing an application with fairly large .net windows (C #) with multiple builds. Each build was originally built for the Target Platfom Any Processor. Due to a problem with Crystal Reports on x64 machines, we had to build an entire project for the x86 target platform. I am starting to rebuild some of our x86 projects and everything is working fine. But with one, I have a problem that when I try to use it as a link in another assembly, the other will not load it, giving the following error:
Failed to load file or assembly # MyAssembly # or one of its dependencies. An attempt was made to download a program with the wrong format.
When playing around Crystal in an example project with several assemblies, I found that this error occurs when projects are created for different target platforms. But here it is not. I am building every project for X86 and just can't figure out where the problem is here.
source share