Have you ever wondered why VS2012 sometimes crashes when you try to publish a wsp? I faced this issue several times and then spent some time to analyze the cause. I found that if you donot specify a Site Url in the SP Project properties and try to publish a wsp, VS will simply crash...