Publish to Azure fails with “ Unrecognized link extension 'contentLibExtension'” Error

亡梦爱人 提交于 2019-12-05 12:04:57

I had the same error. In my case the problem was an old version of "msdeploy.exe".

After some searching I found one "msdeploy.exe" in the folder "C:\Program Files (x86)\IIS\Microsoft Web Deploy\msdeploy.exe" which caused the problem and another one in the folder "C:\Program Files (x86)\IIS\Microsoft Web Deploy V3\msdeploy.exe".

As I don't know how to change the path in Visual Studio to the newer version, I just saved the old folder and copied the complete content of the new folder into the old.

After this everything worked for me and I was able to publish to Azure :) Hope this helps.

Try deselecting "Publish using PowerShell script" checkbox in publish Settings

It worked for me

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!