If you want to delete an application, library, or integration project, you must take into account whether it is referenced by a pattern instance project.
If you delete an application, library, or integration project that is referenced by a pattern instance project, the project reference is removed from the pattern instance project. Therefore, before you delete an application, library, or integration project, ensure that it is not referenced by another project.