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 just started getting this error:

Unhandled exception occurred while calling method 'projectService_ProjectMenuItemsRequested' of type 'CKS.Dev.VisualStudio.SharePoint.Deployment.DeploymentSteps.ActivateSelectedFeaturesProjectExtension, CKS.Dev, Version=, Culture=neutral, PublicKeyToken=487fd6341a5c701f'. Exception: System.NullReferenceException. Message: Object reference not set to an instance of an object.

It happens when opening my project, trying to attach to IIS processes, adn trying to copy assembly to GAC. I assume it would happen on other actions as well.

I can't think of what I may have changed to cause this error. I have attempted to reinstall CKSDev, as well as rebooting my machine, and always get this problem (not intermittently).

I do not get this error when opening a smaller project, so it must be something in this project, but I have no idea.

(Cross posted here:

share|improve this question
up vote 1 down vote accepted

Turns out I deleted my "Package" folder from the root of my project. Thankfully I had a backup.

share|improve this answer

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.