[英]Referencing Silverlight Toolkit for WP7
I am developing a 7.1 App for the Windows Phone device. 我正在为Windows Phone设备开发7.1应用程序。 I downloaded the latest silverlight toolkit, which is version 5.
我下载了最新的Silverlight工具包,即版本5。
However, when I try to add a reference to my Solution (In this case the System.Windows.Controls.DataVisualization.Toolkit
) I get following error: 但是,当我尝试添加对解决方案的引用(在本例中为
System.Windows.Controls.DataVisualization.Toolkit
)时,出现以下错误:
A reference to a higher version or incompatible assembly cannot be added to the project
My XAML header goes like: 我的XAML标头如下所示:
<phone:PhoneApplicationPage x:Class="JOKR_Pivot.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:JOKR_Pivot"
xmlns:tilteffect="clr-namespace:JOKR_Pivot"
local:TiltEffect.IsTiltEnabled="True"
You downloaded the wrong toolkit. 您下载了错误的工具包。
This is what you are looking for: Windows Phone Toolkit 这是您在寻找什么: Windows Phone Toolkit
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.