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

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
add comment

2 Answers

up vote 0 down vote accepted

That's impossible to deploy a farm solution to a remote server use visual stuido.you 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
add comment

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
add comment

Your Answer

 
discard

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.