简体   繁体   中英

Sharepoint Development in Visual Studio 2010

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.

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM