我有一个非常简单的用例。我正在为我的应用程序使用表达式编码器 4.0。此应用程序需要在 x86 和 x64 上运行。
问题:当我通过使其“独立于架构”来运行它时,我们会收到有关目标不兼容的警告。
Warning 1 There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "Microsoft.Expression.Encoder, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=x86", "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. IDS
我怎样才能让这些警告消失。