我正在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位错误.. 可能是什么原因