Edit

Share via


MSB8066 diagnostic code

This article describes the MSB8066 error code.

Message text

MSB8066: Custom build for *item-list* exited with code *error-code*.

Description

This error occurs when a custom build specified for a list of items exits with a nonzero error code.

Resolution

Check the build output or build log to see if the custom build step produced an error with information about the problem. If specific error information isn't available for the step, try running the step separately to check for any problems or unexpected behavior.

For more information, see Understanding custom build steps and build events.

Applies to

All versions of MSBuild