﻿<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type='text/css' href='https://stocksharp.ru/css/style.css'?>
<?xml-stylesheet type='text/css' href='https://stocksharp.ru/css/bbeditor.css'?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title type="html">Проблема с лицензией в 4.1.17</title>
  <id>~/topic/3875/problema-s-litsenziei-v-4_1_17/</id>
  <rights type="text">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  <updated>2026-04-17T03:08:53Z</updated>
  <logo>https://stocksharp.ru/images/logo.png</logo>
  <link href="https://stocksharp.ru/handlers/atom.ashx?category=topic&amp;id=3875" rel="self" type="application/rss+xml" />
  <entry>
    <id>https://stocksharp.ru/posts/m/26906/</id>
    <title type="text">Пока как-то так ) </title>
    <published>2013-08-05T11:35:19Z</published>
    <updated>2013-08-05T11:35:19Z</updated>
    <author>
      <name>vk37</name>
      <uri>https://stocksharp.ru/users/6296/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">Пока как-то так )&lt;div class='spoilertitle'&gt;&lt;input type='button' value='Показать спойлер' class='btn btn-primary' onclick="toggleSpoiler(this, 'spolier_27ff22ec9cec4d9d97fdc013882f154d');" title='Показать спойлер' /&gt;&lt;/div&gt;&lt;div class='spoilerbox' id='spolier_27ff22ec9cec4d9d97fdc013882f154d' style='display:none'&gt;&lt;div class="code"&gt;&lt;strong&gt;Код&lt;/strong&gt;&lt;div class="innercode"&gt;&lt;pre class="brush:xml"&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;
&amp;lt;configuration&amp;gt;
  &amp;lt;runtime&amp;gt;
    &amp;lt;assemblyBinding xmlns=&amp;quot;urn:schemas-microsoft-com:asm.v1&amp;quot;&amp;gt;
      &amp;lt;dependentAssembly&amp;gt;
        &amp;lt;assemblyIdentity name=&amp;quot;Microsoft.Practices.ServiceLocation&amp;quot; culture=&amp;quot;neutral&amp;quot; publicKeyToken=&amp;quot;null&amp;quot; /&amp;gt;
        &amp;lt;codeBase version=&amp;quot;1.0.0.0&amp;quot; href=&amp;quot;Microsoft.Practices.ServiceLocation.StockSharp.dll&amp;quot;/&amp;gt;
      &amp;lt;/dependentAssembly&amp;gt;
    &amp;lt;/assemblyBinding&amp;gt;
  &amp;lt;/runtime&amp;gt;
&amp;lt;/configuration&amp;gt;&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.ru/posts/m/26905/</id>
    <title type="text">Не понимаю происхождение сборки из S# :) Сами перекомпилировали под .NET 4.0 Так же как и MVVM. Прое...</title>
    <published>2013-08-05T11:08:05Z</published>
    <updated>2013-08-05T11:08:05Z</updated>
    <author>
      <name>Mikhail Sukhov</name>
      <uri>https://stocksharp.ru/users/201/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">&lt;div class="quote"&gt;&lt;span class="quotetitle"&gt;vk37 &lt;a href="https://stocksharp.ru/posts/m/26904/" class="quote_nav"&gt;&lt;/a&gt;&lt;/span&gt;&lt;div class="innerquote"&gt;Не понимаю происхождение сборки из S# :)&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Сами перекомпилировали под .NET 4.0 Так же как и MVVM. Проект мертвый, но своего мини функционала хватает, чтобы не поддерживать его вообще.</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.ru/posts/m/26904/</id>
    <title type="text">Обновил проект MVVM Light через NuGet. Сейчас разработчики MVVM Light берут сборку Microsoft.Practic...</title>
    <published>2013-08-05T10:55:29Z</published>
    <updated>2013-08-05T10:55:29Z</updated>
    <author>
      <name>vk37</name>
      <uri>https://stocksharp.ru/users/6296/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">Обновил проект MVVM Light через NuGet. Сейчас разработчики MVVM Light берут сборку Microsoft.Practices.ServiceLocation из официального пакета: &lt;a target="_blank" href="https://www.nuget.org/packages/CommonServiceLocator/1.0. " title="https://www.nuget.org/packages/CommonServiceLocator/1.0. "&gt;https://www.nuget.org/pa...mmonServiceLocator/1.0. &lt;/a&gt;Это то же самое, что и здесь: &lt;a target="_blank" rel="nofollow" href="https://stocksharp.ru/away/?u=AQAAAAAAAAD729sXI6ZRbJTt9NQBtxCYMJqQpv1UTHy10ib2EX70ciDoLVJs98u94Oec-V_HWy8" title="https://commonservicelocator.codeplex.com/. "&gt;https://commonservicelocator.codeplex.com/. &lt;/a&gt;Не понимаю происхождение сборки из S# :)</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.ru/posts/m/26903/</id>
    <title type="text">Оригинальный проект https://commonservicelocator.codeplex.com/ Там публичный токен 31bf3856ad364e35 ...</title>
    <published>2013-08-05T10:17:33Z</published>
    <updated>2013-08-05T10:17:33Z</updated>
    <author>
      <name>Mikhail Sukhov</name>
      <uri>https://stocksharp.ru/users/201/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">Оригинальный проект &lt;a target="_blank" rel="nofollow" href="https://stocksharp.ru/away/?u=AQAAAAAAAAD729sXI6ZRbJTt9NQBtxCYMJqQpv1UTHy10ib2EX70clXyOK-BLaiTP8Pax2Ytjm8" title="https://commonservicelocator.codeplex.com/ "&gt;https://commonservicelocator.codeplex.com/ &lt;/a&gt;Там публичный токен 31bf3856ad364e35 Судя по всему MVVM Gala своим ключом подписали.</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.ru/posts/m/26902/</id>
    <title type="text">Ошибка: System.TypeInitializationException: The type initializer for &amp;apos;StockSharp.Algo.Licensing.Lice...</title>
    <published>2013-08-05T09:56:07Z</published>
    <updated>2013-08-05T09:56:07Z</updated>
    <author>
      <name>vk37</name>
      <uri>https://stocksharp.ru/users/6296/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">Ошибка: &lt;div class='spoilertitle'&gt;&lt;input type='button' value='Показать спойлер' class='btn btn-primary' onclick="toggleSpoiler(this, 'spolier_89fd4c04d57749a7b881ecbe34fa1d21');" title='Показать спойлер' /&gt;&lt;/div&gt;&lt;div class='spoilerbox' id='spolier_89fd4c04d57749a7b881ecbe34fa1d21' style='display:none'&gt;&lt;div class="code"&gt;&lt;strong&gt;Код&lt;/strong&gt;&lt;div class="innercode"&gt;&lt;pre class="brush:plain"&gt;
System.TypeInitializationException: The type initializer for &amp;#39;StockSharp.Algo.Licensing.LicenseHelper&amp;#39; threw an exception. ---&amp;gt; System.TypeInitializationException: The type initializer for &amp;#39;Ecng.Security.CryptoAlgorithm&amp;#39; threw an exception. ---&amp;gt; System.TypeInitializationException: The type initializer for &amp;#39;Ecng.Reflection.Emit.AssemblyHolder&amp;#39; threw an exception. ---&amp;gt; System.TypeInitializationException: The type initializer for &amp;#39;Ecng.Configuration.ConfigManager&amp;#39; threw an exception. ---&amp;gt; System.IO.FileLoadException: Could not load file or assembly &amp;#39;Microsoft.Practices.ServiceLocation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null&amp;#39; or one of its dependencies. The located assembly&amp;#39;s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
   at Ecng.Configuration.ConfigManager..cctor()
   --- End of inner exception stack trace ---
   at Ecng.Configuration.ConfigManager.GetSection[T]()
   at Ecng.Reflection.Emit.AssemblyHolder..cctor()
   --- End of inner exception stack trace ---
   at Ecng.Reflection.Emit.AssemblyHolder.get_NeedCache()
   at Ecng.Reflection.FastInvoker.CreateDelegate(Type delegType, Type instanceType, Type argType, ConstructorInfo ctor, MethodInfo method, MemberInfo member, Nullable`1 isGetter)
   at Ecng.Reflection.FastInvoker.&amp;lt;&amp;gt;c__DisplayClass1.&amp;lt;CreateCore&amp;gt;b__0(MemberInfo param0)
   at Ecng.Collections.CollectionHelper.SafeAdd[TKey,TValue](IDictionary`2 dictionary, TKey key, Func`2 handler, Boolean&amp;amp; isNew)
   at Ecng.Collections.CollectionHelper.SafeAdd[TKey,TValue](IDictionary`2 dictionary, TKey key, Func`2 handler)
   at Ecng.Reflection.FastInvoker.CreateCore(MemberInfo member, Nullable`1 isGetter)
   at Ecng.Reflection.FastInvoker.Create(PropertyInfo property, Boolean isGetter)
   at Ecng.Reflection.FastInvoker`3.Create(PropertyInfo property, Boolean isGetter)
   at Ecng.Reflection.ReflectionHelper.GetValue[TArg,TValue](MemberInfo member, TArg arg)
   at Ecng.Reflection.ReflectionHelper.GetValue[TArg,TValue](Type type, String memberName, BindingFlags flags, TArg arg)
   at Ecng.Reflection.ReflectionHelper.GetValue[TArg,TValue](Type type, String memberName, TArg arg)
   at Ecng.Security.CryptoAlgorithm..cctor()
   --- End of inner exception stack trace ---
   at Ecng.Security.CryptoAlgorithm.Create(AlgorithmTypes type, ProtectedKey[] keys)
   at StockSharp.Algo.Licensing.LicenseHelper..cctor()
   --- End of inner exception stack trace ---
   at StockSharp.Algo.Licensing.LicenseHelper.IsLicenseSupport(Type featureType)
   at StockSharp.Algo.BaseTrader.Connect()&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;У меня в проекте используется Microsoft.Practices.ServiceLocation, Version=1.0.0.0 из MVVM Light. Но эта сборка отличается от той, что используется в S#, хоть и версия одна и та же.</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.ru/posts/m/26901/</id>
    <title type="text">Смотреть нужно InnerException</title>
    <published>2013-08-05T09:14:11Z</published>
    <updated>2013-08-05T09:14:11Z</updated>
    <author>
      <name>Mikhail Sukhov</name>
      <uri>https://stocksharp.ru/users/201/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">Смотреть нужно InnerException</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.ru/posts/m/26899/</id>
    <title type="text">При попытке подключения к серверу брокера дает ошибку: &amp;quot;The type initializer for &amp;apos;StockSharp.Algo.Li...</title>
    <published>2013-08-05T09:08:24Z</published>
    <updated>2013-08-05T09:08:24Z</updated>
    <author>
      <name>vk37</name>
      <uri>https://stocksharp.ru/users/6296/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">При попытке подключения к серверу брокера дает ошибку: &amp;quot;The type initializer for &amp;#39;StockSharp.Algo.Licensing.LicenseHelper&amp;#39; threw an exception.&amp;quot;&lt;br /&gt;Лицензию обновил. Смартком 3.0</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
</feed>