Stuck when publishing Web App to Azure with WebJob

懵懂的女人 提交于 2019-12-04 19:39:40

问题


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).

I know it's caused by the WebJob because when I remove the webjobs-list.json, it publishes perfectly.

Weird thing is, publishing the WebJob alone (using Publish as Azure WebJob) does not present this problem.

Using .NET Framework 4.5.1 if it matters. Update: 4.5 did not make a difference.

Here's an image of the problem:


回答1:


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



来源:https://stackoverflow.com/questions/31007166/stuck-when-publishing-web-app-to-azure-with-webjob

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!