warning MSB3187: Referenced assembly targets a different processor than the application.

Trips

Well-known member
Joined
Aug 7, 2010
Messages
2,788
Hi everyone! We have a mixed application: It uses VB.NET for GUI, C++ for low level stuff, and COM and C++/CLI to interphase VB and C++ (were in the middle of a transition from COM to C++/CLI). As we started adding C++/CLI projects, I noticed that each of them generated this warning when compiling the application.<br/> If I check the apps Advanced Compile Options, it says that the target is "Any CPU". And if I check the C++/CLIs options, first of all it looks like a common C++ project propery (I was expecting it to look like a VB.NET projects properties). Anyway, the closest option I found was Linker->Advanced->Target Machine. And there, I cant set it to "any CPU"...<br/> Is there any way around this warning? ( Other than #pragma disable )<br/>

View the full article
 
Back
Top