SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

this probably isn't the best place to ask but can you help me with this?

It relates to a SharePoint tool which is being developed.

The compiler error is:

The type or namespace name 'SharePoint' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)

I have just imported this project from my other desktop where it compiles with 0 errors and 0 warnings.

SharePoint can be easily accessed through the browser and both compilers use SharePoint 2010.

share|improve this question
@Djeeg - I would accept your answer but this website is not allowing me to log in. – user2262 Jan 26 '11 at 23:06

Sounds like the 2nd computer does not have SharePoint 2010 (desktop) installed on it.

share|improve this answer

You need to copy the Microsoft.Sharepoint.dll from the GAC of the sharepoint server to the other machine to compile your project there. Check the reference in your project if it points to your local GAC.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.