Problem with latest version of MVVMLight (5.2.0)

Nov 1, 2015 at 9:29 PM
I'm trying to hook up a Framework element to my ViewModel using an EventTrigger.
I finally determined that EventToCommand has been moved to GalaSoft.MvvmLight.Platform and updated my xmal declaration to the following:

xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
xmlns:cmd="clr-namespace:GalaSoft.MvvmLight.Command;assembly=GalaSoft.MvvmLight.Platform"

My trigger declaration follows:

<i:Interaction.Triggers>
            <i:EventTrigger EventName="SelectedItemChanged" >
                <cmd:EventToCommand Command="{Binding Mode=OneWay, Path=TempCmd}" PassEventArgsToCommand="False" />
            </i:EventTrigger>
        </i:Interaction.Triggers> 
The <cmd:EventToCommand is producing the error:
           Cannot add content to an object of type "EventTrigger".
I'm obviously missing something. Does someone have any suggestions?

Thank-you.


Dave K