Publish Web Deploy Doesn't Delete Files with VS 2017

浪尽此生 提交于 2019-12-11 07:44:26

问题


Publishing my local site to an Azure profile with web deploy method. If I delete a file and publish, the file remains on the server. I've seen similar versions of this question with answers suggesting either to check the 'delete all files when publishing' (not an option in VS 2017) or to delete bin and obj folders and re-publish (tried several times).

Any other suggestions on getting files to sync when publishing?


回答1:


You could right-click your project -> publish, then follow the screenshots below to check the option Remove additional files at destination.



来源:https://stackoverflow.com/questions/50279521/publish-web-deploy-doesnt-delete-files-with-vs-2017

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