我想在我的Windows Phone 8.1
应用程序中使用一些图表。因此,按照本教程,我完成了以下操作:
我已经安装了以下软件包:
我有以下内容
XAML
:<Page xmlns:Charting="using:WinRTXamlToolkit.Controls.DataVisualization.Charting" x:Class="MST_61462004_E3T02.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:MST_61462004_E3T02" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> <Grid> <Charting:Chart x:Name="PieChart" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="100,100,0,0" Width="400" Height="400"> <Charting:PieSeries Margin="0" IndependentValuePath="Name" DependentValuePath="Amount" IsSelectionEnabled="True" /> </Charting:Chart> </Grid>
但我收到以下错误:
错误 1 无法加载文件或程序集“WinRTXamlToolkit,版本=1.8.1.0,Culture=neutral,PublicKeyToken=null”或其依赖项之一。该系统找不到指定的文件。
我正在使用windows runtime
空白项目。
谁能指出导致错误的原因?