I've used the System.Windows.Interactivity DLL in several projects without any problem. Now in my latest project I can't get it to work. I always get the following error:
The name "Interaction" does not exist in the namespace "http://schemas.microsoft.com/expression/2010/interactivity".
<i:Interaction.Triggers>
<EventTrigger EventName="SelectionChanged">
<i:InvokeCommandAction Command="{Binding AddSelectLocomotifCommand}"
CommandParameter="{Binding SelectedItem, ElementName=listBoxLocs}" />
</EventTrigger>
</i:Interaction.Triggers>
And the namespace:
xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
Both Microsoft.Expression.Interactions
and System.Windows.Interactivity
are added to the projects references and I even copied the DLL's to a folder within my project.
Any idea how this comes? I use VS2012 with .NET 4.5