Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This article describes the MSB8004 error code.
Message text
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
This error occurs when an intermediate or output directory doesn't end with a trailing backslash.
Resolution
Add a trailing backslash (\) to the specified path in your configuration. You can set the Output Directory and Intermediate Directory properties for these paths in your project properties. For more information, see General property page (project).
Applies to
All versions of MSBuild