XAML无法识别Microsoft交互

时间:2019-01-17 10:28:48

标签: wpf data-binding blend

我的目标: 我想以这种方式使用互动触发器:

<i:Interaction.Triggers>

因此,我打开了Nuget并安装了它: enter image description here

此后,两个引用(Microsoft.Expression.Interactions和System.Windows.Interactivity)被添加到我的项目中。这些路径指向我的项目文件夹中的包目录(Blend.Interactivity.Wpf.1.0.1340.0)。

问题: Visual Studio无法识别名称空间。我尝试过:

xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"

Intelisense无法识别i-Tag中的任何元素。

enter image description here

该项目的.Net版本为4.5.2。 我试图删除并重新安装该软件包。 知道这里出了什么问题吗?

0 个答案:

没有答案
相关问题