Editing cBot in Visual Stuido Community 2017 - Problems - needs migrating
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
Replies
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
Email: contact@clickalgo.com
Phone: (44) 203 289 6573
Website: https://clickalgo.com
@ClickAlgo
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:
@trade74@gmail.com