There was a mismatch between the processor architecture of the project being built “MSIL” and the processor architecture of the reference

时光毁灭记忆、已成空白 提交于 2021-01-03 06:49:07

问题


I am using eConnect SDK 11.0. I have a windows service app in which i had added reference of GP sdk.

1) Microsoft.Dynamics.GP.eConnect.dll

2) Microsoft.Dynamics.GP.eConnect.Serialization.dll

When i build my project it had built successfully but gave me the following warning

1) There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "Microsoft.Dynamics.GP.eConnect, Version=11.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=AMD64", "AMD64". 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.

2) There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "Microsoft.Dynamics.GP.eConnect.Serialization Version=11.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=AMD64", "AMD64". 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.

Any idea what can i do to fix this issue? I am trying to build my project in Release 64 settings

来源:https://stackoverflow.com/questions/47752764/there-was-a-mismatch-between-the-processor-architecture-of-the-project-being-bui

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!