I have 3 projects
Project A (Client)
Project B (Server)
Project C (Shared)
Within Project B I have the DB connection using the entity framework as well as all the entity classes, Project A (Client) should have no access to Project B (Server). I want to rely heavily on DTOs for the client/server communication. These DTOs should be created in Project C so both client and server can use them. The source generators are perfect for the generation of the dtos, but is it possible for a source generator to use the entity classes from Project B to generate DTOs in Project C?