Hello QC, 

I am trying to use LEAN-CLI in local backtest ( with  Visual Studio) but  I am encountering a problem with the reference on another local project.

I would like to query my own database using Object relational mapping (Enity Framework).To do this, I add the reference project containing the Model + Context to my Lean-CLI backtest solution. 

 

I run the solution with the command 

lean backtest "MyLeanCLIProject" --debug vsdbg

 

And here the error message: 

 error CS0246: The type or namespace name 'MyProjectReference' could not be found. 

 

I have the impression that I cannot referencing my external projects. Can you tell me how to do it?

 

Best!