Home:ALL Converter>Azure App Service (Linux) missing under Publish for nodejs app

Azure App Service (Linux) missing under Publish for nodejs app

Ask Time:2022-03-30T12:12:40         Author:Java North

Json Formatter

I have created a Linux Node JS app in Azure. I have created a Blank Azure Nodejs Web App project in Visual Studio 2022.

When I try to publish my code to the Azure app, I right click on the project > Publish > Azure, but the option for Azure App Service (Linux) is missing. I do see the option for Azure App Service (Windows).

I tried to import the publish settings. When I do the import Visual Studio 22, the configuration seems to import, but never moves on when clicking Finish. If I close the import window, then the publish profile doesn't exist (though there are some publish config changes evident in the Solution Explorer under Properties).

I did the same thing in Visual Studio 19 and it did accept the import, but it sets things as Azure App Service (Windows) and doesn't manage to get the rest of the config i.e. it doesn't work either.

I have checked my Azure App and it is for sure Linux running Node 16.

Author:Java North,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/71671394/azure-app-service-linux-missing-under-publish-for-nodejs-app
yy