Link to home
Create AccountLog in
Avatar of sandshakimi
sandshakimiFlag for United States of America

asked on

How to connect to SharePoint site with Visual Studio?

My IT department setup SharePoint Server 2010 on the server for me to play with. On my client machine, I installed Visual Studio Pro 2010, hoping to learn how to develop Web Parts.

But I can't seem to connect to the SharePoint website I created via VS. I can connect fine with SharePoint Designer 2010.

(I've already created a App with a top level Site Collection, and Site. Tested fine)

What could be the cause?
Avatar of G-Brain
G-Brain
Flag of Germany image

Avatar of sandshakimi

ASKER

G-Brain,

I believe this is approach is for establishing connections if VS and SharePoint are on the same box?

When attempting this, I get the popup "A SharePoint server is not installed on this computer. A SharePoint server must be installed to work with SharePoint projects."
ASKER CERTIFIED SOLUTION
Avatar of G-Brain
G-Brain
Flag of Germany image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
G-Brain - that seems to be what I need. But also seems like a lot of work.

Is this typical of how SP developers work with VS + SP?
There are different ways of developing for sharepoint.
Many developers have testservers (farms) on them they are developing.

In Visual Studio you have many tools and many functions you can play with.
A good guide for developing WebParts in SharePoint is this book:
http://www.amazon.com/gp/product/1935182773/ref=pd_lpo_k2_dp_sr_1?pf_rd_p=1278548962&pf_rd_s=lpo-top-stripe-1&pf_rd_t=201&pf_rd_i=0972688862&pf_rd_m=ATVPDKIKX0DER&pf_rd_r=0N5D3EBR8SN35B9HF9WX
And for a generally overview this book will help you :
http://www.amazon.com/Inside-Microsoft-SharePoint-2010-Pattison/dp/0735627460/ref=sr_1_2?s=books&ie=UTF8&qid=1301340545&sr=1-2
I'll try this