Sharepoint Development in Visual Studio 2010

旧巷老猫 提交于 2020-01-24 04:22:08

问题


Is it possible to develop for Sharepoint using Visual Studio 2010 pointing to the Sharepoint installed on a seperate server? When I try to add a sharepoint connection in VS2010 it gives my error that there is no sharepoint server installed on my machine. Do I really have to install it on my machine? Can't I just connect to a sharepoint server for developing application?

Cheers.


回答1:


Unfortunately, you cannot develop against a remote SharePoint installation. You must have a running SharePoint installation on your development machine.




回答2:


There is a workaround for this. Export the 14 hive from SP2010 server machine and import it on your development machine and it would work.

This is similar to the "fix" for getting the host to create VS 2008 Sharepoint projects without MOSS installed. For that one, all you needed was the SharePoint=Installed key.

Hope this helps.



来源:https://stackoverflow.com/questions/5557861/sharepoint-development-in-visual-studio-2010

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!