C# – When I want publish Project : “the specified path, file name, or both are too long”

asp.netcpublishresharpervisual-studio-2017

when i want run or publish a web project, i received this error :

Severity Code Description Project File Line Suppression State
Error Cannot evaluate the item metadata "%(FullPath)". The item metadata "%(FullPath)" cannot be applied to the path "jquery-ui-1.10.3.custom\development-bundle\themes\base\images\ui-bg_highlight-soft_75_cccccc_1x100.png". 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.

Someone can help me, Please

Best Answer

Don't keep your project in deep nested folder. Try to keep your project in D:\Projects\YourApp. In this way your it will not exceed 260 limit.

Related Topic