Distribution item '[item name]' in package '[package name]' has invalid property values.

Why does this error occur?

A file or directory in the package contents has an invalid property, such as an empty name or name that is too long.

How do I resolve this error?

Check the properties pane for the specified file or directory, and update any properties that have a red error indicator.