Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2015 freezing when trying to publish an asp.net web to Azure

I created an ASP.NET MVC 5 app and am trying to publish it to Azure (I have an active subscription). When I right-click the project and choose "Publish to Azure" the modal "Create App Service" shows up and just freezes. I have to kill visual studio process to close it.

enter image description here

I've tried it in several VM's, some Windows Server 2012 and some Windows 10, from both my office network and home, so I would safely assume it's not an issue with a particular environment but rather a larger issue.

Any ideas?

like image 651
Andrey Avatar asked Dec 28 '15 23:12

Andrey


2 Answers

The Visual Studio 2015 tooling currently (Azure SDK 2.8.1) requires at least one Resource Group to be created.

You can work around this by creating a resource group in the subscription you are using through the Azure Portal.

I have opened an issue on the project GitHub site. See issue #1704.

Hope that helps.

like image 113
Bernie White Avatar answered Oct 11 '22 00:10

Bernie White


I had to update the Azure tooling via the Visual Studio "Extensions and Updates" menu. None of these workarounds that involved creating items via the web interface worked or were necessary.

like image 28
Luke Avatar answered Oct 10 '22 22:10

Luke