Hi guys,
I'm having an issue running QuantConnect.Lean in Visual Studio. So far I've cloned the latest from git, built the solution without error, and tried running in Debug mode, with QuantConnect.Lean.Launcher as the Start-up Project.
I'm getting the follow exception:
System.ArgumentException: 'Unable to locate any exports matching the requested typeName: QuantConnect.Queues.JobQueue
Parameter name: typeName'
Any suggestions on what I've missed?
Regards,
Antonio.
Aaron Janeiro Stone
Given that this is the code which throws the error, I think JobQueue was either built incorrectly or, more likely, something akin to:
https://github.com/QuantConnect/Lean/issues/15
Otherwise, did you change anything inside of Lean/Launcher/config.json?
Antonio Aquila
Thanks for the reply, Aaron.
It does appear to be something very similar to the issue you linked, however I've run git clean -xdf, a solution clean and re-build, and still have this issue.
Is there anything else you could suggest? I'm using VS Enterprise 2019 Preview.
Alexandre Catarino
Hi Antonio,
Did QuantConnect.Queues project compile? It's odd that it didn't since the project that builds the Lean executable (QuantConnect.Launcher project) depends on it.
You might verify whether you got .Net Framework 4.6.2 installed as well since it might be a missing component in your system.
Antonio Aquila
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!