Подключаю к проекту модуль
Microsoft.Practices.Prism RuntimeVersion:v4.0.30319 Version:4.0.0.0
Ecng.Configuration RuntimeVersion:v4.0.30319 Version:1.0.0.0
Убираю что-то одно, все работает.
Что делать, если надо обе библиотеки?
Получаю исключение:
The type initializer for 'StockSharp.Algo.Licensing.LicenseHelper' threw an exception.
at StockSharp.Algo.Licensing.LicenseHelper.StartValidation(Object feature, Action failedAction)
at StockSharp.Algo.BaseTrader..ctor(Platforms platform, Boolean checkLicense)
at StockSharp.Quik.QuikTrader..ctor(String path)
at StockSharp.Quik.QuikTrader..ctor()
at ConsoleApplication1.Program.Main(String[] args) in e:\Ivan\Trader\Trader\Юрий_Трейдер\FisherStrategy\FisherStrategy\ConsoleApplication1\Program.cs:line 14
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()