无法加载大会“Microsoft.Office.Server.Search”加载、大会、Microsoft、Search

2023-09-03 07:15:36 作者:追求梦想的,有关于梦想的

我有以下错误:

无法加载文件或程序   Microsoft.Office.Server.Search,   版本= 12.0.0.0,文化=中立,   公钥= 71e9bce111e9429c或   它的一个依赖。尝试   是为了用一个加载程序   格式不正确。

"Could not load file or assembly 'Microsoft.Office.Server.Search, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. An attempt was made to load a program with an incorrect format."

有谁知道这个解决方案?

Does anybody know solution for this?

有谁gonn通过这个错误?

Does anybody gonn through this error?

任何投入极大的AP pretiated?

Any input greatly appretiated?

推荐答案

为时已晚来回答这个问题,反正,只要任何其他谁面临着同样的问题,请确保您的目标X64平台目标的项目在生成选项卡属性,在我的情况我是创造一个双赢的窗体应用程序。

its too late to answer this question, anyway, just for any other who face the same issue, make sure that you are targeting "X64" Platform Target in Project Properties under "Build" tab, in my case i was creating a Win Forms Application.