EventToCommand - is build with an older version of the Blend SDK, ans is not supported in a WPF 4 project

Topics: Issues / bugs
Jan 9, 2013 at 9:29 AM
Edited Jan 9, 2013 at 9:29 AM

When using:

 

<Interactivity:Interaction.Triggers>
   <Interactivity:EventTrigger EventName="RowDoubleClick">
      <catel:EventToCommand Command="{Binding RowDoubleClick}" PassEventArgsToCommand="True" />
   </Interactivity:EventTrigger>
</Interactivity:Interaction.Triggers>

 

I'am getting an error in designer in Visual Studio 2012 and the designer can't be loaded:

Error:

the type 'EventToCommand' from assembly 'Catel.MVVM' is build with an older version of the Blend SDK, ans is not supported in a WPF 4 project.

Is there a way to fix this?

Coordinator
Jan 9, 2013 at 12:37 PM

What version are you using? We update it regularly, but maybe we missed an update?

Jan 9, 2013 at 1:04 PM

3.3 .

But I build a test project with 3.4 and have the same problem.

Coordinator
Jan 27, 2013 at 7:36 PM

I checked out all assemblies, and they are all the latest (except for WP8, but you are not using that according to the RowDoubleClick event). Did you upgrade from 3.5 => 4.0 at some time? Then probably you are still pointing to the old 3.5 assemblies. An option to solve this is to remove all catel packages and re-install. This problem appears to all nuget packages, so when changing a .NET fx target version, it is always best to uninstall all packages and re-install.