Ошибка при подключении к Quik

Ошибка при подключении к Quik
Atom
10/22/2012
SelfDeleted


Доброго времени суток!
При компиляции кода:
Code
using System.Text;
using System.Windows;
using StockSharp.Quik;
using StockSharp.BusinessEntities;
using Ecng.Xaml;

namespace QuikStockSharp
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
        }


        private QuikTrader _trader;
        private void button1_Click(object sender, RoutedEventArgs e)
        {
            _trader = new QuikTrader(QuikTerminal.GetDefaultPath());
            _trader.Connected += () => _trader.StartExport();
            _trader.Connect();
        }
    }
}


выдает ошибки

Error 1 The type 'StockSharp.Logging.ILogSource' is defined in an assembly that is not referenced. You must add a reference to assembly 'StockSharp.Logging, Version=4.1.5.0, Culture=neutral, PublicKeyToken=null'. D:\Рабочая\FOREX&Trade\Stock#\QuikStockSharp\QuikStockSharp\MainWindow.xaml.cs 23 28 QuikStockSharp

Error 2 The type 'StockSharp.Logging.ILogReceiver' is defined in an assembly that is not referenced. You must add a reference to assembly 'StockSharp.Logging, Version=4.1.5.0, Culture=neutral, PublicKeyToken=null'. D:\Рабочая\FOREX&Trade\Stock#\QuikStockSharp\QuikStockSharp\MainWindow.xaml.cs 23 28 QuikStockSharp

Error 3 The type 'Ecng.Serialization.IPersistable' is defined in an assembly that is not referenced. You must add a reference to assembly 'Ecng.Serialization, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. D:\Рабочая\FOREX&Trade\Stock#\QuikStockSharp\QuikStockSharp\MainWindow.xaml.cs 23 28 QuikStockSharp

Error 4 The type 'StockSharp.Logging.BaseLogReceiver`1<T0>' is defined in an assembly that is not referenced. You must add a reference to assembly 'StockSharp.Logging, Version=4.1.5.0, Culture=neutral, PublicKeyToken=null'. D:\Рабочая\FOREX&Trade\Stock#\QuikStockSharp\QuikStockSharp\MainWindow.xaml.cs 23 28 QuikStockSharp


Tags:


Thanks:


Alexander

Avatar
Date: 10/22/2012
Reply


Сделайте то, что говорит вам компилятор, и ошибки пропадут.
Thanks:

SelfDeleted

Avatar
Date: 10/22/2012
Reply


А где находится сборка StockSharp.Logging;
в папке с S# в reference ее нет
Thanks:

Alexander

Avatar
Date: 10/22/2012
Reply


на codeplex \ trunk \ References всё есть
Thanks:


Attach files by dragging & dropping, , or pasting from the clipboard.

loading
clippy