• Exploring a SharePoint site from Visual Studio 2010

    by  • 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.

    About

    Shoban Kumar is currently working in an MNC in Trivandrum as a System Analyst. He actively writes .net articles in his blog http://www.codegeeks.net and http://www.dotnetcurry.com. He has also written many open source applications which can be found in Codeplex : http://www.codeplex.com/site/users/view/shobankr You can also follow him in Twitter @shobankr

    5 Responses to Exploring a SharePoint site from Visual Studio 2010

    1. Toby
      June 10, 2010 at 4:52 pm

      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 ?

    2. June 10, 2010 at 4:54 pm

      The post is about exploring sharepoint site in VS 2010. so what are you trying to explore without a site?

    3. Paul
      September 9, 2010 at 2:44 pm

      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?

    4. September 9, 2010 at 3:26 pm

      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.

    5. November 22, 2010 at 3:27 pm

      @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.

    Leave a Reply

    Your email address will not be published. Required fields are marked *