标签: c# .net wpf
我想要包含RelayCommands。我想为System.Windows.Input创建一个程序集以使用ICommands,但程序集不可用?有什么问题?我已经安装了.net框架客户端配置文件和扩展?这个套餐不提供吗?
答案 0 :(得分:5)
System.Windows.Input不作为程序集存在。 System.Windows.Input是PresentationCore程序集中的命名空间。此外,RelayCommand不是作为.Net框架的一部分提供的类。您必须自己制作或使用MVVM library中提供的内容。
System.Windows.Input
PresentationCore
RelayCommand
答案 1 :(得分:3)
System.Windows.Input位于PresentationCore汇编中。只需查找类型对象资源管理器并检查它所在的程序集。(单击命名空间,您将看到该位置)。