Topics
Replies
mbanandetoro6
04 Dec 2022, 07:26
( Updated at: 21 Dec 2023, 09:23 )
RE: Steps To reproduce
Thank you for quick response.
- Firstly ,I have installed CTrader v4.5.1, I am using Pepperstone broker.
- Then, I have installed visual studio community edition 2022. check below screenshot for version information
- Then I have created new bot using CTrader , New bot option. Target framework 6.0
- Then I have opened it with visual studio using CTrader option "Edit in Visual Studio"
- I have Verified That the ctrader automate (v1.0.5 latest) is installed in nuget package manager.
- After that whenever I try to build using visual studio the build fails with following error
- 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.
- What I have tried so far
- I have tried all available versions of ctrader.Automate Nuget package.
- I have tried to change target framework.
- I have tried to create the project(class library) in visual studio rather then ctrader, and then adding the ctrader.Automate package using nuget.
- I have tried to build using terminal "dotnet build"
- I have tried to create the project in different disk drive.
- 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?
Need help? Join us on Telegram
Need premium support? Trade with us
@mbanandetoro6
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