Exploring a SharePoint site from Visual Studio 2010
by Shoban • May 10, 2010 • SharePoint 2010 • 5 Comments
Visual Studio 2010 has lots of new and exciting features. One of my favorite feature is exploring a SharePoint site from Visual Studio. Yes! it is possible now and its very simple. Follow these simple steps.
Start Visual Studio 2010 and open Server Explorer. If Server Explorer is hidden open it using View -> Server Explorer menu or just by simply pressing Ctrl +W, L
Right Click SharePoint Connections and Click Add Connection. You will see the following dialog if you are not running Visual Studio with elevated privileges.
Simply restart Visual Studio 2010 under a different Account with elevated permissions and repeat the steps above. In the Input Dialog box enter the SharePoint site address and press OK. That’s it! You can now explore Sites, Libraries, Lists and lots more from Visual Studio.




Hi
I tried this, and got a message saying a Sharepoint server needs to be installed on my computer.
I dont see why. I have used Sharepoint designer without a local SP server
can you help ?
The post is about exploring sharepoint site in VS 2010. so what are you trying to explore without a site?
I’m getting the same error;
http://social.technet.microsoft.com/Forums/en-US/sharepointgeneral/thread/93898871-1980-4f3a-97cb-c15ff63e3ae1
http://stackoverflow.com/questions/3676323/setting-up-visual-studio-with-a-cloud-based-sharepoint-site
I’m using a cloud based SharePoint site. Any ideas how to get Visual Studio working with SharePoint on the cloud?
What version of SharePoint are you trying to connect? It seems VS 2010 can connect only to SharePoint 2010. Also it does not support remote development.
@Toby/Paul
When doing any development on SharePoint via Visual Studio, the SharePoint Foundation (formerly wss) has to be installed on the computer you are coding against because the SharePoint object model has to be available to compile against…I typically use a virtual machine with a Windows Server OS and install Visual Studio there.