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 am new to SharePoint 2013. I have SharePoint server 2013 install on server and vs 2010 present in other PC. I have developed a test visual web parts using vs 2010 on my local PC. The visual web part is successfully build. But when I try to deploy the web parts, I am getting the below error.

Error: Object reference not set to an instance of an object.
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========

Also I am not able to generated the .wsp file in bin folder.

share|improve this question
up vote 0 down vote accepted

That's impossible to deploy a farm solution to a remote server use visual need

  • Building a local test environment
  • Or create wps file manually use WSPBuilder
share|improve this answer
Hi Raymond, thanks for you answer. It is very help. Thanks – MAHESH ALLE Apr 19 '13 at 11:11

create manually wsp file by right clicking project folder and click on package in visual studio.

so it will generate wsp file in bin folder.

share|improve this answer
Thanks for you answer. When I click on package in vs then I am getting the error as "Package failed". Can you help me. – MAHESH ALLE Apr 19 '13 at 5:45

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.