When i custom modules in framework, show "Missing required module " error

I make my framework and custom modules,
when i built this framework and shared to others, it showed Missing required module which i was customized.
i found the framework not embed the import paths files, just linked.
if i can use custom module in framework?