10 Aug 2019, 10:32Main#1
basilposts: 2since: 10 Aug 2019

I'm a confused newbie.

Using FxPro cTrader 3.5 "Edit in Visual Studio" command. Then building the code in Visual Studio gives me the following error:

Severity Code Description Project File Line Suppression State

Error Program 'c:\Users\corin\Documents\cAlgo\Sources\Robots\B-Orderly\B-Orderly\bin\Debug\B-Orderly.exe' does not contain a static 'Main' method suitable for an entry point B-Orderly 0

What am I doing wrong?

12 Aug 2019, 09:19#2
Panagiotis Charalampousposts: 3718since: 13 Jan 2017

Hi basil,

Thanks for posting in our forum. To be able to help you, we need more information. As a start, can you post the cBot code you are using?

Best Regards,


Head of Community Management at cTrader -Join us on Telegram -
13 Aug 2019, 22:57#3
basilposts: 2since: 10 Aug 2019

Hi Panagioti

It does the same no matter what code I use. For example this is what I get when trying to build the Sample Martingale cBot which came with FxPro cTrader 3.5 Error CS5001: Program 'c:\Users\corin\Documents\cAlgo\Sources\Robots\Sample Martingale cBot\Sample Martingale cBot\bin\Debug\Sample Martingale cBot.exe' does not contain a static 'Main' method suitable for an entry point. The same error whether I build from within cTrader or Visual Studio. Interestingly, no errors in cTrader until I installed Visual Studio.Now both produce the same error.

Here is a screen shot of the About, Visual Studio:

Does it maybe have something to do with the operating system? I am using Windows 10 Home.