After following this tutorial on How to Create Custom SharePoint Server 2013 Workflow Forms with Visual Studio 2012 Sand-boxed Solutions I received the following error:
Error occurred in deployment step ‘Activate Features’: Column ‘WSPublishState’ does not exist. It may have been deleted by another user.
To fix this issue right click your project -> select properties -> sharepoint and have a look at the
Active deployment configuration.
Change this to
no activation, rebuild and redeploy.
If this succeeds change it back to
default and your solution should now deploy with no error.