I have some projects for which I use the “Library” (code sharing) feature.

While running those on Python was no issue, I did not manage to run them with C#.

I am getting the error

ERROR:: Runtime Error: Could not load file or assembly 
'MyLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the 
file specified.


Does anybody know what this might be due to?

Autocomplete works and recognises the library as I added the project and library to the solution and referenced the library as explained in the documentation. However, when running with lean backtest “MyProject” I get the above error.


Thanks!