【发布时间】:2026-01-29 19:50:01
【问题描述】:
我正在尝试根据 Microsoft's own guide 发布 C# 项目,但是当我尝试这样做时遇到以下错误(当构建输出日志级别设置为诊断时)。
Error: Failed to copy file '[path that is over 260 characters]' to '[path that is under 260 characters]'.
Unable to add '[path that is under 260 characters]' to the Web site.
Unable to add file '[subset of path that is under 260 characters]'.
The system cannot find the path specified.
我已经抽象了字面路径以使错误更易于阅读。
这里发生了什么?
【问题讨论】:
标签: c# visual-studio publishing