本文介绍MSB8004错误代码。
消息文本
MSB8004: *property* Directory does not end with a trailing slash. This build instance will add the slash as it is required to allow proper evaluation of the *property* Directory.
DESCRIPTION
当中间目录或输出目录不以尾随反斜杠结尾时,会发生此错误。
决议
请在配置中指定的路径后添加一个反斜杠(\)。 可以在项目属性中为这些路径设置 输出目录 和 中间目录 属性。 有关详细信息,请参阅“常规”属性页(项目)。
适用于
MSBuild 的所有版本