简体   繁体   English

指定的路径,文件名或两者都太长。 C#Azure聊天机器人错误

[英]The specified path, file name, or both are too long. C# Azure Chat bot error

I am trying to upload my Visual Studio code to Azure to update my Chat bot that I have created, but keep getting ther error: 我试图将我的Visual Studio代码上传到Azure,以更新我创建的聊天机器人,但是不断出现错误:

Severity Code Description Project File Line Suppression State Error Copying file obj\\Release\\Package\\PackageTmp\\obj\\Release\\Package\\PackageTmp\\obj\\Release\\Package\\PackageTmp\\obj\\Release\\Package\\PackageTmp\\obj\\Debug\\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs to obj\\Release\\Package\\PackageTmp\\obj\\Release\\Package\\PackageTmp\\obj\\Release\\Package\\PackageTmp\\obj\\Release\\Package\\PackageTmp\\obj\\Release\\Package\\PackageTmp\\obj\\Debug\\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs failed. 严重性代码说明项目文件行抑制状态错误复制文件obj \\ Release \\ Package \\ PackageTmp \\ obj \\ Release \\ Package \\ PackageTmp \\ obj \\ Release \\ Package \\ PackageTmp \\ obj \\ Release \\ Package \\ PackageTmp \\ obj \\ Debug \\ TemporaryGeneratedFile_036C0B5B-1481 -4323-8D20-8F5ADCB23D92.cs到obj \\ Release \\ Package \\ PackageTmp \\ obj \\ Release \\ Package \\ PackageTmp \\ obj \\ Release \\ Package \\ PackageTmp \\ obj \\ Release \\ Package \\ PackageTmp \\ obj \\ Release \\ Package \\ PackageTmp \\ obj \\ Debug \\ TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs失败。 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个字符。 Microsoft.Bot.Sample.QnABot 0 Microsoft.Bot.Sample.QnABot 0

I am simply trying to do a single time publish not continuous deployment, but this error is halting my development. 我只是在尝试一次发布而不是连续部署,但是此错误使我的开发暂停了。

Any help or insight into this problem would be much appreciated! 任何帮助或对这个问题的见解将不胜感激!

The path appears to be duplicated several times and suggests your folder structure has been changed or otherwise corrupt. 该路径似乎重复了几次,表明您的文件夹结构已更改或损坏。

obj\\Release\\Package\\PackageTmp\\ OBJ \\发布\\包\\ PackageTmp \\

obj\\Release\\Package\\PackageTmp\\ OBJ \\发布\\包\\ PackageTmp \\

obj\\Release\\Package\\PackageTmp\\ OBJ \\发布\\包\\ PackageTmp \\

obj\\Release\\Package\\PackageTmp\\ OBJ \\发布\\包\\ PackageTmp \\

obj\\Debug\\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs OBJ \\调试\\ TemporaryGeneratedFile_036C0B5B,1481-4323-8D20-8F5ADCB23D92.cs

I suggest examining your project's folders to make sure they're in the correct place and, if needed, Clean the solution and/or manually delete the obj folder and recompile. 我建议检查项目的文件夹,以确保它们位于正确的位置,如果需要,请清洁解决方案和/或手动删除obj文件夹并重新编译。

暂无
暂无

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

相关问题 无法复制文件指定的文件名太长。 当发布机器人到天蓝色时 - Unable to copy file specified file name is too long. When publishing bot to azure Selenium C# drive.PageSource - '太长,或指定路径的组件太长。 - Selenium C# drive.PageSource - 'is too long, or a component of the specified path is too long.' ASP.NET 发布错误(指定的路径、文件名或两者都太长) - ASP.NET Publish Error (The specified path, file name, or both are too long) Fortify Translator严重错误:指定的路径,文件名或两者都太长 - Fortify Translator severe error: specified path, file name, or both are too long 当我想发布项目时:“指定的路径、文件名或两者都太长” - When I want publish Project : “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 “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 该文件解析为太长的路径。 最大长度为260个字符 - The file resolves to a path that is too long. The maximum length is 260 characters 指定的令牌太长。 最大长度为128个字符 - The token specified is too long. The maximum length is 128 characters
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM