Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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.

Thanks, Jonathan

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

2 Answers 2

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

 
discard

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