Topics
Replies

mbanandetoro6
07 Dec 2022, 12:17

RE: RE: Steps To reproduce

I have attached build log using "dotnet build -v diagnostic"

Please check this detailed log file --> Text Log File Google Drive Link


@mbanandetoro6

mbanandetoro6
04 Dec 2022, 07:26 ( Updated at: 21 Dec 2023, 09:23 )

RE: Steps To reproduce

​​​​​​​Thank you for quick response.

  1. Firstly ,I have installed CTrader v4.5.1, I am using Pepperstone broker.
  2. Then, I have installed visual studio community edition 2022. check below screenshot for version information
    1. visual studio version information image
  3. Then I have created new bot using CTrader , New bot option. Target framework 6.0
  4. Then I have opened it with visual studio using CTrader option "Edit in Visual Studio"
  5. I have Verified That the ctrader automate (v1.0.5 latest) is installed in nuget package manager.
  6. After that whenever I try to build using visual studio the build fails with following error
  7. If I use embedded compiler of CTrader then the build succeeds, if I change the compiler in CTrader settings, then even in CTrader code editor build, I get the same error.
  8. What I have tried so far
    1. I have tried all available versions of ctrader.Automate Nuget package.
    2. I have tried to change target framework.
    3. I have tried to create the project(class library) in visual studio rather then ctrader, and then adding the ctrader.Automate package using nuget.
    4. I have tried to build using terminal "dotnet build"
    5. I have tried to create the project in different disk drive.
    6. I have tried to install other .net dependencies in visual studio. check below screenshot for .net versions and SDKs I have installed.

 

So far I have unable to figure out the cause of the issue.

I am familiar with c# but not familiar with msbuild system. thus i am unable to figure out the issue. i have looked up online. but found no solutions.

If you could help me solve the issue. that would be really helpful.

Currently as a workaround i am editing in visual studio 2022, and using ctrader editor build option.

Thank you.

 


PanagiotisChar said:

Hi there, 

Can you provide steps for us to reproduce this error?

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

 

 


@mbanandetoro6