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.