.Net version

Created at 13 Sep 2022, 09:32
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
EY

eynt

Joined 08.05.2020

.Net version
13 Sep 2022, 09:32


1. Does cTrader supports .Net 4.8?

2. How do I tell cTrader to look for a version update?

3. I see that there's a new control "Target framework". How can I transfer all my indicators/cBots to .Net 6? What if some of my indicators/cBots have references to .Net4?

 

 

Thanks


@eynt
Replies

PanagiotisCharalampous
13 Sep 2022, 14:11

Hi yuval.ein,

  1. No, cTrader was ported to .NET 6.0
  2. This happens automatically. You will see if there are updates on the top right corner
  3. Just change the target version. If your code is not compatible, you will need to make the relevant changes. 

 Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

eynt
14 Sep 2022, 01:02

RE:

Some of my indicators were upgraded to .net 6 successfully however on one how them i get the error:

Severity    Code    Description    Project    File    Line    Suppression State
Error    CT0121    Output type "System.String" is not supported.    SummaryInd    C:\Users\yuval\.nuget\packages\ctrader.automate\1.0.2\build\cTrader.Automate.targets    41    

 

Line 41 on the targets file is:

<ExtractMetadataTask AssemblyPath="$(TargetPath)"

 

 

Thanks

 


@eynt

PanagiotisCharalampous
14 Sep 2022, 09:13

Hi yuval.ein,

Please share with us the indicator code.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous