我在 Visual Studio 中创建了一个 Node.js 项目,现在我想将它发布到 azure,所以我遵循以下指南: https ://github.com/Microsoft/nodejstools/wiki/Publish-to-Azure-Website-using -Web-Deploy#converting-to-an-azure-project-type
但是当我右键单击项目或顶部的构建菜单时,发布按钮被禁用。有任何想法吗?
我在 Visual Studio 中创建了一个 Node.js 项目,现在我想将它发布到 azure,所以我遵循以下指南: https ://github.com/Microsoft/nodejstools/wiki/Publish-to-Azure-Website-using -Web-Deploy#converting-to-an-azure-project-type
但是当我右键单击项目或顶部的构建菜单时,发布按钮被禁用。有任何想法吗?
似乎此功能对节点项目模板不可用/不再可用。但是,如果您使用 Azure 进行托管,仍然可以使用Azure CLI执行部署。如果你像我一样使用 Azure 函数,你可以使用az functionapp deployment source config-zip命令来部署节点函数。