In the most recent changes QuantConnect.Lean 2.5.17448 is now using .NET 10.0, but the cloud does not this is causing a major issue. Is anyone else experiencing this issue.
Details:
error NU1202:
Package QuantConnect.Lean 2.5.17448 is not compatible with net9.0 (.NETCoreApp,Version=v9.0). Package QuantConnect.Lean 2.5.17448 supports: net10.0 (.NETCoreApp,Version=v10.0)
This specific library requires 10.0, but when I push the project I get an error
The project is targeting net10.0 but QuantConnect Cloud uses net6.0.
Martin Molinero
Hey Pranav Shah!
Sorry to hear your having issues. Can you please clarify how can we reproduce this issue, details appreciated, so we can resolve it as soon as possible, feel free to contact support if you prefer.
I'm guessing, maybe running locally with some old version of the lean cli and lean images, suggest updating to the latest lean cli "pip install lean==1.0.221" and adding “--update” when running a live command to get the latest lean versions.
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.
Pranav Shah
Hi,
I am using the QuantConnect C# libraries via nuget. I had it setup to always get the latest code. The latest version 2.5.17448 is only compatible with .net 10, but the cloud environment of QuantConnect does not support it. The build of 2.5.17448 need to be changed to .net 9 or the cloud has to support .net 10
Martin Molinero
Hi,
Everything should be using net10 at this point, nugets, local and cloud. Please clarify how in steps can we reproduce this issue, details appreciated, so we can resolve it as soon as possible, feel free to contact support if you prefer.
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.
Pranav Shah
When I get a chance, I will test again, but I am pretty sure that I was seeing warning in the cloud about .net 10 not being supported. I will provide evidence later this week or next
Pranav Shah
Must have been user error I do not see this issue repeated again. Sorry about this.
Pranav Shah
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!