Failed to publish VS project to Azure due to filename length despite shortening temporary directory

I cannot publish a project to Azure from Visual Studio. I have a problem because I am getting the following error:

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.

I've tried many common solutions already. The problem occurs in the temporary location of the directory, but I have shortened that. Directory too long b:\test\WebSitePublish\WebProject-1309592107\obj\Debug\Package\PackageTmp\node_modules\grunt-bower\node_modules\bower\node_modules\request\node_modules\form-data\node_modules\combined-stream\node_modules\delayed-stream\test\integration\test-delayed-http-upload.js

, starting with short name directroy.

I also tried to install npm install -g flatten-packages

but get the same error.

How can I make this project clickable?

+3


source to share





All Articles