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
Adding reference to "Microsoft.NET.Sdk.Function" to note that it's an Azure Function fixed the issue.