Fixed – Copying file “” failed. Could not find file while trying to Publish the portal in Azure using Visual Studio


The project was getting build successfully. But while trying to publish it was getting the below error.

Excluding all the files from the Project fixed the issue.

 

 

Hope it helps..