简体   繁体   English

当我想发布项目时:“指定的路径、文件名或两者都太长”

[英]When I want publish Project : “the specified path, file name, or both are too long”

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)".严重性代码描述项目文件行抑制状态错误无法评估项目元数据“%(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".项目元数据“%(FullPath)”不能应用于路径“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.完全限定的文件名必须少于 260 个字符,目录名必须少于 248 个字符。

Someone can help me, Please有人可以帮助我,请

Don't keep your project in deep nested folder.不要将您的项目保存在深层嵌套文件夹中。 Try to keep your project in D:\\Projects\\YourApp .尝试将您的项目保存在D:\\Projects\\YourApp 中 In this way your it will not exceed 260 limit.这样你就不会超过 260 的限制。

You have reached the maximum path length of the FileSystem.您已达到文件系统的最大路径长度。 You have to make it shorter, eg reducing the filename.您必须缩短它,例如减少文件名。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 ASP.NET 发布错误(指定的路径、文件名或两者都太长) - ASP.NET Publish Error (The specified path, file name, or both are too long) 发布 MVC 4 应用程序时出现 PathTooLongException。 指定的路径、文件名或两者都太长 - PathTooLongException when publishing MVC 4 app. The specified path, file name, or both are too long 指定的路径,文件名或两者都太长。 C#Azure聊天机器人错误 - The specified path, file name, or both are too long. C# Azure Chat bot error Fortify Translator严重错误:指定的路径,文件名或两者都太长 - Fortify Translator severe error: specified path, file name, or both are too long “GenerateBindingRedirects”任务意外失败。 指定的路径,文件名或两者都太长 - The “GenerateBindingRedirects” task failed unexpectedly. The specified path, file name, or both are too long X509Certificate2 导入 PathTooLongException:指定的路径、文件名或两者都太长 - X509Certificate2 Import PathTooLongException: The specified path, file name, or both are too long 由于文件路径太长,错误网站发布失败 - Error Website publish failing due to file path being too long 无法复制文件指定的文件名太长。 当发布机器人到天蓝色时 - Unable to copy file specified file name is too long. When publishing bot to azure 我想发布项目时无法恢复 csproj 文件 - Failed to restore csproj file while i want to publish project 错误:文件路径太长 - Error: File Path is Too Long
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM