使用 visual studio 2017 FTP 发布项目时显示错误

While publishing the project using visual studio 2017 FTP it shows error

在使用 visual studio 2017.It 发布项目时提到 error.How 来解决这个问题?有人帮我吗?

Severity Code Description Project File Line Suppression State Error Copying file templates\upload-manager.file to obj\Release\Package\PackageTmp\templates\upload-manager.file failed. Could not find file 'templates\upload-manager.file'.

我 运行 遇到了同样的问题,因为项目文件被添加和删除了很多次。我刚刚从 visual studio 解决方案中删除了黄色标记的文件,它对我来说工作正常。