When I build my vb.net project in Visual Studio, I get the below mismatch warning. I have another program that is almost exactly the same and it does not give this error. Both projects are using the same .net 4.5.1 framework and both are set to Any CPU on compile. Any ideas why I'm getting this warning on the one project and not the other? I'm sure it's some simple setting, but I can't figure out what it is.
There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "System.Data", "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.