I just used the WebJob SDK to add a WebJob to my web app.
Now, when publishing the web app, VS is stuck when publishing (does not hang, but does not progress either).
Setting the "maximum number of parallel project builds" to 1 (default is 4) solved the problem for me. It is in Tools > Options > Projects and Solutions > Build and Run