Search code examples
wpfvisual-studio-2010xamlexpression-blend

The tag 'Interaction.Behaviors' does not exist in VS2010 (Blend 3)


There seems to be a problem with support for the Interactivity namespace of Blend 3 in the VS2010 xaml editor. I have the following installed:

  • VS2010
  • Blend 3 + Blend 3 SDK

I am trying to compile a demo project that is targeted at .Net 4 Client Profile and has a reference to System.Windows.Interactivity (in the Blend 3 folder).

In the object browser everything appears to be fine. I can also access Interaction.Behaviours from code-behind, but if I put the namespace xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" in the xaml file and try to use it, the intellisense is blank.

If I copy something in there anyway, the compiler says: The tag 'Interaction.Behaviors' does not exist in XML namespace 'http://schemas.microsoft.com/expression/2010/interactivity'.

Do I need to install Blend 4 RC or something?


Solution

  • If you don't have Blend 4, you can just install the Blend 4 SDK by itself to get the current behavior assemblies.