Visual Studio stops in the middle of publishing app service to Azure

Matt James 1 Reputation point
2022-12-19T17:02:48.05+00:00

I've got an app service that I can't get published to Azure as Visual Studio (2019 v16.11.20) keeps stopping in the middle of the process.

The build itself completes successfully. When it gets to "Publish started" for some of my lower-level projects, it just stops. No errors, no messages, no nothing. Just done. The UI is still active, so it's not completely hung, but the publish process won't continue.

  • I've tried deleting .vs, no change.
  • Deleting and re-importing the publish profile, no change.
  • Deleting the build configuration, no change.
  • Closing and re-starting VS, no change.
  • Rebooting the machine, no change.
  • Cleaning, rebuilding the solution, no change.
  • Deleting the obj and bin directories throughout the solution, no change.

Publishing other solutions on the machine works properly. Publishing other configurations of this solution works properly (to other subscriptions). I think that I even tried deleting the app service and re-building it (we're pre-production, but getting to where we need to be ready to go), no change. I found a reference to more verbose logging, but all that it shows is that it completes one of the steps and then nothing. I don't have the logs any more, but could probably regenerate them if someone thinks it would help.

Every once and a while, it works, but I have no idea what the magic is to get it working every time. Anyone have any ideas on what it would take to get this running properly? I need to be able to start publishing this consistently as we start our final testing before release.

Thanks, Matt

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,972 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.