Building the Project
From Open Forex Platform Wiki
The latest source code for the project can be obtained, using an SVN client. This example will be done using the free TortoiseSVN client. It integrates with the Windows Explorer context menu and allows operations to be done directly to the files from it.
- Pre-requirements
Make sure to download the latest version of the .NET Framework (3.5 SP1) from Microsoft, since the Platform requires it. Also it is advisable to use Visual Studio 2008 (SP1) rather than Visual Studio 2008, although not mandatory
- Source code download
1. Download and install TortoiseSVN
2. Create a new folder to put the project in. Lets call it "OFxP".
3. Downloading the source code
Right click on the new folder and select "SVN CheckOut" from the context menu. In the dialog
- Set the "URL of repository" field to the following value http://openforexplatform.googlecode.com/svn/trunk/
- "Checkout directory" will point to the "OFxP" folder
- "Checkout Depth" must be fully recursive (default)
- "Revision" must be "HEAD revision" (default)
Click OK and wait for the download to finish. You should see in the "OFxP" folder 2 new folders "SourceCode" and "Files".
- Building the Platform
Inside the SourceCode folder, open the OpenForexPlatform.sln solution. This will open a solution with all of the projects of the Platform. Set ForexPlatformFrontEnd project to be StartUp Project and then build it. You should now be able to run the Platform from source code, click "Debug >> Start Without Debugging".
Please note, when using the latest source code for the Platform, you might observe some temporary bugs or features errors or even build errors. This is due to the fact the source code depot is used extensively for development purposes and may contain untested and changed code.
- Optional references
The Open Forex Platform uses a module architecture, and thus all integration adapters to external brokers are separate projects (.dlls) in the solution. However a few of those integrations require some broker specific external references and will not build without them (for ex. the MBT Adapter requires MBT Navigator software). If you wish to build the platform and do now have or wish to install third party software, simply unload (or exclude) those projects from the solution, and you should be able to build and run the Platform with no errors.
Note: Windows Vista x64 users also see these 3 forum posts.
Note: In order to provide x64 OS compatibility for some integration modules, the solution is set to run in x86 mode by default; should you add any new projects make sure to have them in x86 mode, unless there is a good reason to not do so; currently the 32b modules requiring to run in 32bit mode on 64b OS are: "MBTrading COM Integration Module", if you switch your configuration to x64 or Any CPU, these modules will not run properly.

