我正在尝试按照本文档引用我的域服务。
以下两个声明工作正常
xmlns:riaControls = "clr-namespace:System.Windows.Controls;
assembly=System.Windows.Controls.DomainServices"
和
xmlns:data = "clr-namespace:System.Windows.Controls;
assembly=System.Windows.Controls.Data"
但我遇到了这个问题
xmlns:domain="clr-namespace:SNMPApplication.Web"
即使在我重建整个解决方案之后,也会出现此错误:
未定义的 CLR 命名空间。'clr-namespace' URI 指的是程序集中不包含的命名空间。
我尝试添加对 Silverlight 项目的引用,但出现此错误
您只能将项目引用添加到解决方案中的其他 Silverlight 项目。
有没有人知道问题是什么?:/
非常感谢你。