C# SharePoint SPSite方法依赖关系问题
我正在使用C# SharePoint SPSite方法依赖关系问题,c#,.net,sharepoint,sharepoint-2013,mysite,C#,.net,Sharepoint,Sharepoint 2013,Mysite,我正在使用sharepointdll来获取mysite的信息,比如名称、用户id、图片,为此我使用了sharepointSPSite方法,但是当我从visual studio(未部署在任何地方)运行(调试)代码时,我会收到一个依赖项错误,上面说 Microsoft SharePoint is not supported in 32-bit process. Please verify that you are running in a 64-bit executable. 默认情况下,项目目
sharepointdll
来获取mysite
的信息,比如名称、用户id、图片,为此我使用了sharepointSPSite
方法,但是当我从visual studio(未部署在任何地方)运行(调试)代码时,我会收到一个依赖项错误,上面说
Microsoft SharePoint is not supported in 32-bit process. Please verify that you are running in a 64-bit executable.
默认情况下,项目目标是任何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位都有错误。。
您的开发计算机上安装SharePoint的原因可能是什么?@Serv YES its installed。。