I've noticed with Visual Studio 2012 when you build a SharePoint 2013 project (or solution) it no longer automatically generates the SharePoint package (WSP). To do this you have to use the Publish menu action.
I'd like to change this either through the .csproj file or an MSBUILD command parameter.
After looking at all the documentation, it seems that you can only do with individual projects and not the solution. See http://msdn.microsoft.com/en-us/library/ee231588.aspx
Is there anyway I can achieve this?