Avatar of manich
manich

asked on 

Microsoft.SharePoint.dll

I have problem with performing sharepoint develelopment in local pc.
I have been put Microsoft.SharePoint.dll that I have been take from my sharepoint installion machine put it with the path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\ISAPI" in my local pc, after that I drag dll file to assembly.
But I still not coding in my local pc? How ?
Microsoft SharePointMicrosoft Server Apps

Avatar of undefined
Last Comment
manich
Avatar of Jamie McAllister
Jamie McAllister
Flag of Switzerland image

I wouldn't do it that way.

Get yourself one of the Virtual Machine products and build a virtual Windows server. Put your dev tools on the image and code against that.

Alternatively, build a VHD image of a server OS and boot your PC into the image.
Avatar of manich
manich

ASKER

what? so if I need to develop code for my client . I need to install visual studio for them and coding in their company, I can not remote for doing it
That's not what I said.

If you need to develop code for your client you will do it in your Development Environment as detailed above, and package it up as Solutions for deployment to your client.
Avatar of manich
manich

ASKER

how?
Avatar of manich
manich

ASKER

not accepted
OK, we're pretty off topic now. Good luck.
Hi! There is no way to debug SharePoint solution without having SharePoint installed on your local PC. So for developing you will need a special development environment (real or virtual) as mentioned above. Then you develope a wsp package in your development environment and give it to your client. This is how it's done.

Indeed you can compile dll (with referencre to Microsoft.SharePoint.dll, like any other dll)  or event create WSP package on your PC machine without SharePoint installed on it, but won't debug it, so I guess it's not an option for developer.
Avatar of rebejones
rebejones

Ivan is correct. I am not sure if you are asking how to get the SharePoint references to show up in your code but you will have to make a reference to it. In Visual Studio right click on the reference section and click add reference. Then click on the browse tab and browse for the dll on your computer. Then you will be able to use SharePoint references in your code.
Avatar of manich
manich

ASKER

but still meet the problem with assembly Microsoft.SharePoint.Library not load,
this happen cause I not code it in computer that install sharepoint, but I think there should be have way to do that
When you do get this error? Compile time or runtime?
Avatar of manich
manich

ASKER

it is runtime error
Put Microsoft.SharePoint.dll to GAC of your machine (using My Computer open C:\Windows\Assembly and drag dll there), run iisreset if you application in hosted on iis.
Avatar of manich
manich

ASKER

I applies all but still meet the same problem (iisreset, gpupdate)
ASKER CERTIFIED SOLUTION
Avatar of manich
manich

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of manich
manich

ASKER

Accepted this solution ,
Avatar of manich
manich

ASKER

No comment!
Microsoft SharePoint
Microsoft SharePoint

Microsoft Sharepoint is a software platform and family of software products used for collaboration and web publishing combined. These capabilities include developing web sites, portals, intranets, content management systems, search engines, wikis, blogs, and other tools for business intelligence and collaboration. SharePoint has a Microsoft Office-like interface, and it is closely integrated with the Office suite.

40K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo