Solved: Azure Function "Publish Failed" from Visual Studio 2017
The “Publishing failed” error message will make you feel cursed. It appears when publishing an Azure serverless Function directly from Visual Studio 2017. Some never see it, but those who do can’t seem to get rid of it. I tried all the recommended internet forum voodoo of creating new deployment profiles, restarting Visual Studio, cleaning the project and downloading deployment profiles. If it did go away for once, it always came back. ...