Home:ALL Converter>Azure Function App Publish Target Missing in Visual Studio

Azure Function App Publish Target Missing in Visual Studio

Ask Time:2019-02-07T04:35:20         Author:Evan Park

Json Formatter

I'm trying to publish an Azure Function to already deployed Azure Function App, which is in my subscription.

But Publish target for the Function app is missing.

This is a newly created Function and all other existing function has the publish target visible.

Do I need to configure something on the subscription side or the function .csproj to enable publish target?

One that has azure resource as publish target is running on 1.x runtime.

One that does not have azure resource as publish target is running on 2.x runtime

Ones that does not show azure function as target

One that shows azure function as target

Author:Evan Park,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/54562154/azure-function-app-publish-target-missing-in-visual-studio
Evan Park :

Adding reference to \"Microsoft.NET.Sdk.Function\" to note that it's an Azure Function fixed the issue.\n\n ",
2019-02-07T02:03:02
yy