Problem with Plugin dependency

Hi ,

I am working on Plugin A, now I would like to create another Plugin B and move some of the Plugin A source files .cpp & .h files into Plugin B. I did follow all the steps to create Plugin B and added dependencies. However, I am facing an issue with compiling error

1>EXEC : error : Couldn’t find parent type for ‘XXXX’ named 'AYYY ’ in current module (Package: /Script/zzzzzz) or any other module parsed so far."

Could anyone help me with this