我目前得到以下错误:error : The tag 'ListPicker' does not exist in XML namespace 'clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Toolkit'.的XAML是如下的:
<toolkit:ListPicker />xml命名空间是:xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Toolkit"
我发现了类似的问题,dll不存在或被阻塞。这一次不是这样的。我可以使用代码中的控件,但不能使用XAML。我还绑了一个干净的和重建的。但这并没有起到作用。
问题不仅在于ListPicker,还在于工具包xml命名空间中的每个控件。(包括不自动完成)
该项目是Windows Phone 8.1 Silverlight项目。
发布于 2016-07-22 23:25:37
尝试声明以下命名空间:
xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;
assembly=Microsoft.Phone.Controls.Toolkit"我现在无法测试它!:-S
https://stackoverflow.com/questions/38529006
复制相似问题