Refactored method to call the AddEmbeddedResourceToPackage method.