成功安装后,WPToolkit 未出现在参考资料中 [英] WPToolkit not appear in the references after successful install

查看:34
本文介绍了成功安装后,WPToolkit 未出现在参考资料中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过 NuGet 安装了 WPToolkit 并且它成功了,但是它没有添加到项目的解决方案中,这就是我无法添加到 xaml 的原因

I installed the WPToolkit through NuGet and it was successful, but it wasn't add into project's solutions, that's why i can't add in the xaml

xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"

<toolkit:AutoCompleteBox...

*名称AutoCompleteBox"在命名空间clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"中不存在.*

*The name "AutoCompleteBox" does not exist in the namespace "clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit". *

那我该怎么办?

我正在使用:

Microsoft Visual Studio Ultimate 2013
Version 12.0.30501.00 Update 2
Microsoft .NET Framework
Version 4.5.51641

谢谢,罗伯托克

推荐答案

@Robertoq,目前 WPToolkit 不支持新的 Windows Phone 8.1 XAML(即新框架针对基于通用应用程序 API 的应用程序.

@Robertoq, currently WPToolkit doesn't support new Windows Phone 8.1 XAML (i.e. the new framework targeting Universal Application API's) based application.

但他们确实支持Windows Phone 8.1 Silverlight Application,它使用旧的8.0 Silverlight API's 作为应用程序框架.您可以在此处找到&此处.我自己对此进行了测试,将工具包添加到 Windows Phone 8.1 Silverlight 应用程序中它奏效了.

But they do support Windows Phone 8.1 Silverlight Application, which uses the old 8.0 Silverlight API's for application framework. And that you can find here & here. I tested this myself, I added the toolkit to Windows Phone 8.1 Silverlight application & it worked.

因此,您无需浪费时间将 .dll 添加到不支持该 .dll 的项目中.如果你想构建一个 8.1 应用程序 &您确实需要使用该工具包,然后只针对 8.1 Silverlight 应用程序.

So you don't need to waste your time in adding .dll to a project where it doesn't support that .dll. If you want to build a 8.1 application & you do need to use the toolkit then just target 8.1 Silverlight app.

您可以通过转到 Visual Studio 2013 -> 来创建一个新项目 ->通用应用程序 ->Windows Phone 应用程序 ->空白应用程序(Windows Phone Silverlight)->Windows Phone 8.1(选择)

希望这会有所帮助.

这篇关于成功安装后,WPToolkit 未出现在参考资料中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆