While attempting to publish a web app from Visual Studio 2013 to Azure, I ran across this message:
The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
Searching the Internet provided many possible solutions, most involved modifying the MSBuild settings. None of them worked, unfortunately.
What did work, though, was moving the file to a shorter directory. So instead of hosting my project in C:\Users\scott.stoecker\Documents\Visual Studio 2013\Projects\ScottsApp folder, I moved it to C:\Projects, and that worked great.