include additional files

Created at 18 Aug 2018, 06:55
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!
swingfish's avatar

swingfish

Joined 25.06.2016

include additional files
18 Aug 2018, 06:55


i use some additional files for a robot to run (sounds as examples and data files

they reside in the Sources folder, however Sources are not included is i compile without sourcecode.

 

is there a way to compile without sourcecode but still attach files to the .algo ? 

 


@swingfish
Replies

ClickAlgo
18 Aug 2018, 11:54

Hi Swingfish,

You have a few options, one is to use the Visual Studio IDE and attached your files as resources and also set them to embedded, see the link below.

https://stackoverflow.com/questions/433171/how-to-embed-a-text-file-in-a-net-assembly

The more simplest option would be to just provide a zipped up file containing your additional files and specify where the user copies them so your robot can read them.

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

Twitter | Facebook | Google+ | YouTube | Pinterest | LinkedIn


@ClickAlgo

swingfish
20 Aug 2018, 16:30

guess you are right,

the most easiest way is probably just to use an installer instead. that copy the sound and data files to the appropriate directory


@swingfish