title: How to use MvvmLight along with System.Windows.Interactivity?
body: <p>Very simple question: <strong>How to use MvvmLight along with System.Windows.Interactivity?!</strong></p>
  
  <p>This is how my packages looks like:</p>
  
  <pre><code>&lt;packages&gt;
    &lt;package id="CommonServiceLocator" version="1.3" targetFramework="net452" /&gt;
    &lt;package id="Expression.Blend.Sdk" version="1.0.2" targetFramework="net452" /&gt;
    &lt;package id="MvvmLightLibs" version="5.2.0.0" targetFramework="net452" /&gt;
    &lt;package id="Ninject" version="3.2.2.0" targetFramework="net452" /&gt;
  &lt;/packages&gt;
  </code></pre>
  
  <p>Can anyone suggest me, which exactly versions should I use to make this kind of code works, without errors/warnings?</p>
  
  <pre><code>    &lt;userControls:MyUserControl x:Name="Foo" Margin="10,110,10,10" BorderStrokeThickness="5"&gt;
          &lt;i:Interaction.Triggers&gt;
              &lt;i:EventTrigger EventName="FooClick"&gt;
                  &lt;command:EventToCommand Command="{Binding Mode=OneWay, Path=ClickCommand}" 
                                          PassEventArgsToCommand="True" /&gt;
              &lt;/i:EventTrigger&gt;
          &lt;/i:Interaction.Triggers&gt;
      &lt;/userControls:MyUserControl&gt;
  </code></pre>
  
  <p>I get different error messages on line with <code>EventToCommand</code>. Now I have error:</p>
  
  <blockquote>
    <p><strong>Cannot add instance of type 'EventToCommand' to a collection of type 'TriggerActionCollection'. Only items of type 'T' are allowed.</strong></p>
  </blockquote>
  
  <p>few seconds ago I had:</p>
  
  <blockquote>
    <p><strong>The type 'EventToCommand' from assembly 'GalaSoft.MvvmLight.Platform' is built with an older version of the
    Blend SDK, and is not supported in a Windows Presentation Framework 4
    project.</strong></p>
  </blockquote>
  
  <p>and I didn't change nothing:/ (rebuild/reopened solution few times)</p>
  
  <p>EDIT: I just recompiled, I now I have second error again</p>
  
  <p>EDIT2:</p>
  
  <p>right now I have:</p>
  
  <pre><code>xmlns:cmd="clr-namespace:GalaSoft.MvvmLight.Command;assembly=GalaSoft.MvvmLight.Platform"
  
  xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
  </code></pre>
  
  <p>I cannot add (I do have GalaSoft.MvvmLight.Extras dll in references)</p>
  
  <pre><code>xmlns:command="clr-namespace:GalaSoft.MvvmLight.Command;assembly=GalaSoft.MvvmLight.Extras.WPF4"
  </code></pre>