简体   繁体   English

由于文件路径太长,错误网站发布失败

[英]Error Website publish failing due to file path being too long

I have a problem when I try to publish web Can you help me with this? 尝试发布网络时出现问题,您可以帮我吗? Please! 请!

图片说明在这里

C:\\Program Files (x86)\\MSBuild\\Microsoft\\VisualStudio\\v12.0\\Web\\Microsoft.Web.Publishing.targets(2988,5): Error : Copying file Scripts\\Highcharts-4.0.1\\exporting-server\\java\\highcharts-export\\highcharts-export-web\\target\\classes\\com\\highcharts\\export\\controller\\ExportController.class to obj\\Release\\Package\\PackageTmp\\Scripts\\Highcharts-4.0.1\\exporting-server\\java\\highcharts-export\\highcharts-export-web\\target\\classes\\com\\highcharts\\export\\controller\\ExportController.class failed. C:\\ Program Files(x86)\\ MSBuild \\ Microsoft \\ VisualStudio \\ v12.0 \\ Web \\ Microsoft.Web.Publishing.targets(2988,5):错误:复制文件Scripts \\ Highcharts-4.0.1 \\ exporting-server \\ java \\ highcharts-export \\ highcharts-export-web \\ target \\ classes \\ com \\ highcharts \\ export \\ controller \\ ExportController.class到obj \\ Release \\ Package \\ PackageTmp \\ Scripts \\ Highcharts-4.0.1 \\ exporting-server \\ java \\ highcharts-export \\ highcharts-export-web \\ target \\ classes \\ com \\ highcharts \\ export \\ controller \\ ExportController.class失败。 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个字符。

Unfortunately, you have only one way: 不幸的是,您只有一种方法:

that directory obj\\Release\\Package\\PackageTmp\\Scripts\\Highcharts-4.0.1\\exporting-server\\java\\highcharts-export\\highcharts-export-web\\target\\classes\\com\\highcharts\\export\\controller\\ should have shorter name. 该目录obj\\Release\\Package\\PackageTmp\\Scripts\\Highcharts-4.0.1\\exporting-server\\java\\highcharts-export\\highcharts-export-web\\target\\classes\\com\\highcharts\\export\\controller\\应该使用较短的名称。 This is a restriction for 260 symbols for file path and name in OS and for 248 for the directory name. 对于OS中的文件路径和名称,这是260个符号的限制;对于目录名称,这是248个限制。

This name already has 189 symbols, but you have to add to that length rest of the path. 该名称已经有189个符号,但是您必须在该路径的其余部分添加该长度。 Like C:\\web\\inetput\\sitename... 像C:\\ web \\ inetput \\ sitename ...

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

相关问题 错误:文件路径太长 - Error: File Path is Too Long ASP.NET 发布错误(指定的路径、文件名或两者都太长) - ASP.NET Publish Error (The specified path, file name, or both are too long) 当我想发布项目时:“指定的路径、文件名或两者都太长” - When I want publish Project : “the specified path, file name, or both are too long” WCF服务调用因传递太多数据而失败? - WCF Service Call Failing Due To Too Much Data Being Passed? 软件包名称路径-完全限定后,路径太长 - Package name path - The path is too long after being fully qualified 指定的路径,文件名或两者都太长。 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 无法写入输出文件Spcified Path / FileName太长了? - Cannot Write To The Output File The Spcified Path/FileName Are Too Long? 当路径太长时,File.Exists()错误地返回false - File.Exists() incorrectly returns false when path is too long 该文件解析为太长的路径。 最大长度为260个字符 - The file resolves to a path that is too long. The maximum length is 260 characters
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM