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.
我创建了一个ASP.NET MVC 5应用程序,并尝试将其发布到Azure(我有一个有效的订阅)。当我右键单击项目并选择“发布到Azure”时,模式“创建应用程序服务”显示并冻结。我必须杀死visual studio进程来关闭它。
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.
我已经在我的办公室网络和家庭中的几个VM,一些Windows Server 2012和一些Windows 10中尝试过它,所以我可以肯定地认为它不是特定环境的问题,而是更大的问题。
Any ideas?
2 个解决方案
#1
6
The Visual Studio 2015 tooling currently (Azure SDK 2.8.1) requires at least one Resource Group to be created.
当前的Visual Studio 2015工具(Azure SDK 2.8.1)至少需要创建一个资源组。
You can work around this by creating a resource group in the subscription you are using through the Azure Portal.
您可以通过在Azure门户中使用的订阅中创建资源组来解决此问题。
I have opened an issue on the project GitHub site. See issue #1704.
我在项目GitHub网站上打开了一个问题。请参阅问题#1704。
Hope that helps.
希望有所帮助。
#2
2
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.
我必须通过Visual Studio“Extensions and Updates”菜单更新Azure工具。这些涉及通过Web界面创建项目的变通方法都不起作用或者是必要的。
#1
6
The Visual Studio 2015 tooling currently (Azure SDK 2.8.1) requires at least one Resource Group to be created.
当前的Visual Studio 2015工具(Azure SDK 2.8.1)至少需要创建一个资源组。
You can work around this by creating a resource group in the subscription you are using through the Azure Portal.
您可以通过在Azure门户中使用的订阅中创建资源组来解决此问题。
I have opened an issue on the project GitHub site. See issue #1704.
我在项目GitHub网站上打开了一个问题。请参阅问题#1704。
Hope that helps.
希望有所帮助。
#2
2
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.
我必须通过Visual Studio“Extensions and Updates”菜单更新Azure工具。这些涉及通过Web界面创建项目的变通方法都不起作用或者是必要的。