Adding existing dbContext in different project

I have a .net solution with one project for the Blazor web app, and another project for the dbcontext and data. My problem is that it seems that Radzen Blazor Studio can only see the dbContext if it is in the web project, and has no way to reference a dbcontext in another project. Is this true or am I missing a configuration option or syntax tweak somewhere? The app compiles, functions, and runs fine, so this is a Radzen issue.

Hi @areilly,

Indeed Radzen Blazor Studio will not discover EF contexts in your setup. This isn't a supported scenario for the time being.

1 Like

Thanks for confirming, I'll just move the dbcontext back to the main project.