Delphi Error – E2223 $DENYPACKAGEUNIT ‘%s’ cannot be put into a package

Delphi Compiler Error

E2223 $DENYPACKAGEUNIT ‘%s’ cannot be put into a package

Reason for the Error & Solution

You are attempting to put a unit which was compiled with $DENYPACKAGEUNIT into a package. It is not possible to put a unit compiled with the $DENYPACKAGEUNIT direction into a package.