ArsenAbazian / CryptoTradingFramework

A self hosted, cryptocurrency trading bot and framework supporting multiple exchanges with GUI
Other
176 stars 80 forks source link

unable to run the project. #3

Open CryptoKochi opened 4 years ago

CryptoKochi commented 4 years ago

getting lot of errors error

ArsenAbazian commented 4 years ago

Hi, CryptoUI and CryptoMarketClient use third party DevExpress WinForms components. Do you install them on your machine? You can download it at 'https://www.devexpress.com/products/net/controls/winforms/'. If the downloaded version differs from one in the project, please run the project converter and convert it to the latest version.

ArsenAbazian commented 4 years ago

I tried to clone the repository on a new machine and also get a lot of errors while building. One of the causes is that some of NuGet packages are also missing. Please run PackageManagerConsole and execute command Update-Package to download and install the missing packages.

ArsenAbazian commented 4 years ago

Also, I used sgen.exe to generate *XmlSerializers.dll in the post-build event section. It also can prevent the project from building. So I removed these commands. Please try to update your repository, or try to remove the command manually in the build events project page.

ArsenAbazian commented 4 years ago

image Here is how it looks "DevExpress Project Converter". Just run it and press the "Upgrade All" button. Almost all errors should go after that.

ArsenAbazian commented 4 years ago

Finally, I unloaded some unused projects, classes, and fixed some errors. I updated the repository. Please update it on your side and:

  1. Run Update-Package to download missing packages
  2. Download, install DevExpress WinForms components. Run ProjectConverter It should work.

I want to notice that you have to use DevExpress WinForm Components only if you plan to use GUI. If you just need logic - the Crypto.Core is enough for you.

CryptoKochi commented 4 years ago

Thanks for your reply. i did all the steps you have mentioned. now i am getting this new errors. i have installed all the devexpress components. new error

ArsenAbazian commented 4 years ago

Hi, Here is how it looks on my side. image Please look at the right side. You can see that all assemblies referenced correctly. You getting these errors because on your side assemblies were not found. Could you please attach a screenshot, how it looks on your side? If there is something wrong with referenced assemblies you will see yellow exclamation icon near assembly.