I'm getting this warning when building my project:
There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "D:\ReferencedProject.dll", "ARM". 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.
I have a Windows Phone 8.1 Silverlight project, which seems to be forced to the AnyCPU target, and some sub-components that are x86 and ARM specific. Since I can't change the architecture on the application project, I want to suppress this warning.
I've searched for a way to do this, and a few pages say to set <ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>None</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
in my csproj file. I've tried doing this on both the referencing and the referenced projects but I still get the warning.
How do I suppress this?
I got a similar warning my Unit Testing projects... finally figured out the warning was coming from the Fakes Project, not my project. Might want to make sure that the file path in the error is the one you're expecting...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With