简体   繁体   English

跨平台Expression Encoder 4.0

[英]Cross platform Expression Encoder 4.0

I have a very simple use case. 我有一个非常简单的用例。 I am using expression encoder 4.0 for my application. 我正在为我的应用程序使用表达式编码器4.0。 This application need to run on x86 as well as x64. 此应用程序需要在x86和x64上运行。

Problem: When I run it by making it "architecture independent" we get warnings about target incompatibility. 问题:当我通过使它“与体系结构无关”来运行它时,我们会收到有关目标不兼容的警告。

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

How can I make these warnings go away. 我如何使这些警告消失。

Expression Encoder exists only as a 32-bit version. Expression Encoder仅作为32位版本存在。 (But it still works on a 64-bit OS by using WoW64 .) (但是通过使用WoW64,它仍然可以在64位OS上运行。)

To get rid of the warning you would have to change your project to 32-bit (x86) , but you should also be save with ignoring it. 要摆脱警告,您必须将项目更改为32-bit (x86) ,但也应将其忽略。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM