This website uses cookies to enhance site navigation, analyze site usage, and assist in our marketing efforts. By clicking “Accept All” you are providing your consent to our use of all cookies. Alternatively, please provide your choice by pressing “Customize Cookies”. For more information, please read our Privacy policy
basil
13 Aug 2019, 22:57 ( Updated at: 21 Dec 2023, 09:21 )
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.
@basil