Editing cBot in Visual Stuido Community 2017 - Problems - needs migrating

Created at 03 May 2018, 13:57
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!
TR

trade74@gmail.com

Joined 06.11.2016

Editing cBot in Visual Stuido Community 2017 - Problems - needs migrating
03 May 2018, 13:57


for some reason, I had to change the .NET for one of my projects to the latest 4.6.1 

ever since that, I can no longer edit my cBots code as a project like normal

I can go to the actual folder and open the .cs file and make edits, save it and rebuild in cBot

But this is not ideal and I feel I have broken something important.

So if I try to open the  .sln file in VS2017 community

I get the message "This project needs to be migrated."

 

iI have no knowledge of VS2017 so it's not clear what I need to do.

has anyone seen this and/or have a solution that I could try.

 

thanks

Stuart

 


@trade74@gmail.com
Replies

trade74@gmail.com
03 May 2018, 14:11

RE:

this is the link i get from Visual Studio 

https://msdn.microsoft.com/library/hh266747.aspx

 

trade74@gmail.com said:

 

for some reason, I had to change the .NET for one of my projects to the latest 4.6.1 

ever since that, I can no longer edit my cBots code as a project like normal

I can go to the actual folder and open the .cs file and make edits, save it and rebuild in cBot

But this is not ideal and I feel I have broken something important.

So if I try to open the  .sln file in VS2017 community

I get the message "This project needs to be migrated."

 

iI have no knowledge of VS2017 so it's not clear what I need to do.

has anyone seen this and/or have a solution that I could try.

 

thanks

Stuart

 

 


@trade74@gmail.com

trade74@gmail.com
03 May 2018, 14:14

RE:

also this is the screenshot of the error/message

https://www.screencast.com/t/dtDn8WTlWsvv

 

trade74@gmail.com said:

for some reason, I had to change the .NET for one of my projects to the latest 4.6.1 

ever since that, I can no longer edit my cBots code as a project like normal

I can go to the actual folder and open the .cs file and make edits, save it and rebuild in cBot

But this is not ideal and I feel I have broken something important.

So if I try to open the  .sln file in VS2017 community

I get the message "This project needs to be migrated."

 

iI have no knowledge of VS2017 so it's not clear what I need to do.

has anyone seen this and/or have a solution that I could try.

 

thanks

Stuart

 

 


@trade74@gmail.com

ClickAlgo
06 May 2018, 11:23

Hi Stuart,

Do you really want to edit the project in Visual Studio 2017? if you do then cTrader 2.0 does not yet support this version, you will need to wait until cTrader 3.0 is released.

My advice is to install VS 2015 and use this to edit your cBot code until v3.0 of cTrader is released, you can have both VS2015 and 2017 installed side-by-side.

Unless your project is using an assembly which requires .NET version 4.6.1 I would change the target framework to 4.0

You will also need to install the cBot extension for Visual Studio 2015, you can do this from the IDE or from the web page link below.

https://marketplace.visualstudio.com/items?itemName=Spotwareextensions.cBotsandCustomIndicators

Paul Hayes
Sales & Marketing
Emailcontact@clickalgo.com
Phone: (44) 203 289 6573
Websitehttps://clickalgo.com

 

 


@ClickAlgo