I have recently installed the new Azure development tools for Visual Studio 2010 service pack 1. Every time that I try to publish an existing website (using file system depl
I had the same issue: I created the project in VS 2010, and had to publish from VS 2019. None of the solutions here worked for me, and I'd been with the issue for about a day.
What did work came from this link: http://www.dotnetxp.com/visual-studio-error-publish-target-gatherallfilestopublish-not-exist-project/
This is what I did:
** Unloaded offending project.
** Open csproj file in text editor.
** Find this line
and replace with this. I use 16.0 because that's the version I'm using (vs2019).
16.0
$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)
** Reload project and publish.
Worked like a charm.