Hello, I have developed following extensions structure, extensions contain custom tables and standard tables extensions:

B and C depend on A
D depends on B and C
Project is building properly, when publishing to instance VS code reports errors that for example procedure defined in C extending sales header does not exist - this procedure is used in D, error comes form D. Same scenario with two fields in table extension defined in C which are used in D - error comes form D, says they dont exist. Weird thing is everything builds correctly - these fields and procedure is deifned properly etc.
Have anyone experienced such issue? I am a bit lost.
Thank you!