Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/325.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# SharePoint SPSite方法依赖关系问题_C#_.net_Sharepoint_Sharepoint 2013_Mysite - Fatal编程技术网

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、图片,为此我使用了sharepoint
SPSite
方法,但是当我从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。。