解决Prism 8.0 I添加InvokeCommandAction xaml报错问题

报错:
无法将类型为“InvokeCommandAction”的值添加到类型为“TriggerActionCollection”的集合或字典中

https://github.com/PrismLibrary/Prism/issues/2242

这是你的问题这是不需要的,因为棱镜为WPF不再使用。您需要将xmlns名称空间更新到此:System.Windows.Interactivity

xmlns:i="http://schemas.microsoft.com/xaml/behaviors"

解决方法:
替换
xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"

xmlns:i="http://schemas.microsoft.com/xaml/behaviors"

原文地址:https://www.cnblogs.com/swobble/p/14478892.html