SharePoint SPSite方法依赖性问题

时间:2014-08-21 09:19:52

标签: c# .net sharepoint sharepoint-2013 mysite

我正在sharepoint dll处获取mysites说出的名称,用户ID,图片的信息,以及我使用sharepoint SPSite方法的信息,但是当我运行时(调试)来自visual studio的代码(未部署在任何地方)我得到了依赖性错误,说明了......

 Microsoft SharePoint is not supported in 32-bit process. Please verify that you are running in a 64-bit executable.

默认项目目标是Any Cpu ..

当我将其设为64位时,我得到以下错误

Could not load file or assembly 'x' or one of its dependencies. An attempt was made to load a program with an incorrect format.

意味着它给32位和64位错误.. 可能是什么原因

0 个答案:

没有答案