Azure functions web deployment fails after Visual Studio update to version 15.8.*

I recently ran into an issue with deployment one of my Azure Functions solutions after installing a visual studio update, after the update when I tried to publish the solution VS would just give me a prompt saying that it failed to publish, with no further explanation.

I did a bit of googling around and found this on stack overflow: https://stackoverflow.com/questions/51926402/azure-web-deploy-publish-failed

After going through these steps I found 2 options that work, option one if I created a new Azure Functions app from visual studio it would successfully deploy, and the second option if I manually created the publishing profile through visual studio I would get the following message which explains what was wrong all along:

So after the VS update the runtime version has changed which blocks you from deploying to the existing Functions app, it would be nice if VS just said that in the first place, would have saved me an afternoon.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s