﻿<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type='text/css' href='https://stocksharp.com/css/style.css'?>
<?xml-stylesheet type='text/css' href='https://stocksharp.com/css/bbeditor.css'?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title type="html">Конфликт библиотек</title>
  <id>~/topic/3560/konflikt-bibliotek/</id>
  <rights type="text">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  <updated>2026-06-07T06:30:28Z</updated>
  <logo>https://stocksharp.com/images/logo.png</logo>
  <link href="https://stocksharp.com/handlers/atom.ashx?category=topic&amp;id=3560" rel="self" type="application/rss+xml" />
  <entry>
    <id>https://stocksharp.com/posts/m/25208/</id>
    <title type="text">Полагаю что нужно както состыковать версии библиотек. Ecng тоже юзает эти либы которые юзает призма:...</title>
    <published>2013-04-07T13:56:39Z</published>
    <updated>2013-04-07T13:56:39Z</updated>
    <author>
      <name>ra81</name>
      <uri>https://stocksharp.com/users/16581/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;p&gt;Полагаю что нужно както состыковать версии библиотек. Ecng тоже юзает эти либы которые юзает призма:
Microsoft.Practices.ServiceLocation.dll
Microsoft.Practices.Unity.dll&lt;/p&gt;
&lt;p&gt;Как то надо их развязать :). А проще всего думаю взять призму той же версии.&lt;/p&gt;
</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/25206/</id>
    <title type="text">Подключаю к проекту модуль Microsoft.Practices.Prism RuntimeVersion:v4.0.30319 Version:4.0.0.0 Ecng....</title>
    <published>2013-04-07T12:19:21Z</published>
    <updated>2013-04-07T12:19:21Z</updated>
    <author>
      <name>Roma</name>
      <uri>https://stocksharp.com/users/38969/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;p&gt;Подключаю к проекту модуль
Microsoft.Practices.Prism    RuntimeVersion:v4.0.30319      Version:4.0.0.0
Ecng.Configuration           RuntimeVersion:v4.0.30319      Version:1.0.0.0&lt;/p&gt;
&lt;p&gt;Убираю что-то одно, все работает.
Что делать, если надо обе библиотеки?&lt;/p&gt;
&lt;p&gt;Получаю исключение:
The type initializer for 'StockSharp.Algo.Licensing.LicenseHelper' threw an exception.&lt;/p&gt;
&lt;p&gt;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()&lt;/p&gt;
</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
</feed>