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

I've ran in to this in two completely different environments now. I can build the solution and not have any problems with intellisense. If I deploy our Web Parts project to my local SharePoint 2010 site, as soon as the deployment process hits 'Deploy Succeeded', intellisense blows up, and I get compile errors on the current page. I can go and select each project in the solution, click refresh, and everything is good again.

Any ideas? Can anyone explain this?

share|improve this question
up vote 1 down vote accepted

Initially I thought It's not Intellisense by itself, but the reference for Microsoft.SharePoint.dll that are lost (maybe references to projects as well).

I've seen such behavior, but adding the reference back seemed more appropriate than a thorough research at the moment.

In the comments below guys make it clear that exactly the Intellisense symbols are lost.

share|improve this answer
I've seen this, but not the reference itself dropping off, just the symbols for intellisense. A rebuild of the project after deploying fixes it for me (temporarily). – James Love Jan 24 '11 at 8:17
James, that's exactly what is happening. The symbols are gone. Refreshing each of the projects brings it back for me. – Tim Gabrhel Jan 25 '11 at 14:43
Is there a post build event I can create on the web parts project to refresh each of my other projects to prevent this? It's very irritating with multiple deployments. – Tim Gabrhel Feb 8 '11 at 14:03
Accepting this answer as it appears it is currently only a manual process – Tim Gabrhel Jun 3 '11 at 15:22

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.