跨平台Expression Encoder 4.0

时间:2013-08-13 13:15:45

标签: visual-studio-2012 expression-encoder expression-encoder-sdk

我有一个非常简单的用例。我在我的应用程序中使用表达式编码器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

如何让这些警告消失。

1 个答案:

答案 0 :(得分:0)

Expression Encoder仅作为32位版本存在。 (但它仍然可以使用WoW64在64位操作系统上运行。)

要摆脱警告,您必须将项目更改为32-bit (x86),但您也应该忽略它而保存。