Closed
Description
We have the following structure:
- CompanyName.Models (only has reference to JADNC.Annotations)
- Model.cs
- DbContext.cs
- Migrations
- etc etc
- CompanyName.Web (has reference to full JADNC package)
- Program.cs
I was hoping that the source gen would happen in CompanyName.Web since it has a reference to CompanyName.Models but that doesn't seem to be the case?
We don't want to have to add a reference to the full package in the Models project and we would prefer to not pulute that project with controllers. Is there any way around this?