I have a x64 .NET project. To that project I have added a reference, which I believed to have been built in AnyCPU-mode. The image below shows the output of CORFLAGS for that reference assembly (32BITREQ : 0 -> AnyCPU, right?).
Still the compiler gives me the following warning:
There was a mismatch between the processor architecture of the project being built "AMD64" and the processor architecture of the reference "MyReference, Version=2.1.0.0, Culture=neutral", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
So what's wrong here? Did I interpret the CORFLAGS the wrong way? Or do I need to change something in my VS build configuration?