简体   繁体   English

Dynamics AX 2012 C#编译警告

[英]Dynamics AX 2012 C# Compilation Warning

We receive the following error when compiling our C# Visual Studio project at some client sites. 在某些客户端站点上编译C#Visual Studio项目时,我们收到以下错误。 The C# project is embedded in the AOT. C#项目嵌入在AOT中。

MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "Microsoft.Dynamics.AX.ManagedInterop", "x86". MSB3270:正在构建的项目“ MSIL”的处理器体系结构与引用“ Microsoft.Dynamics.AX.ManagedInterop”,“ x86”的处理器体系结构之间不匹配。 This mismatch may cause runtime failures. 这种不匹配可能会导致运行时失败。

Opening the project in Visual Studio, the target processor is set for "Any" I know it is only a warning, but I'd like to resolve it if possible. 在Visual Studio中打开项目,将目标处理器设置为“任何”,我知道这只是一个警告,但是我想尽可能解决它。

Any suggestions? 有什么建议么?

Thanks, 谢谢,

  • Brad 布拉德

This was fixed by restarting the AOS. 通过重新启动AOS可以解决此问题。

No idea what was going on. 不知道发生了什么。

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

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