Phi*_*hil 3 silverlight silverlight-toolkit
从安装的JetPack主题模板创建新的Silverlight应用程序后,我尝试按照App.xaml文件中提供的有关如何启用silverlight工具包控件的主题的说明,
<!--
<ResourceDictionary Source="Assets/ToolkitStyles.xaml"/>
To extend this theme to include the toolkit controls:
1. Install the Silverlight Toolkit for Silverlight 4
2. Add a Toolkit control to your project from the toolbox. This will add references to toolkit assemblies.
3. Change the "Build Action" for ToolkitStyles.xaml to "Page"
4. Uncomment the resource dictionary include above.
If you do not intend to use toolkit controls, delete this comment and the ToolkitStyles.xaml file.-->
Run Code Online (Sandbox Code Playgroud)
我正确地按照说明进行操作,但项目现在无法编译,这里出现了大约39个错误.
我是Silverlight的新手(来自MVC/jQuery),这可能是我正在做的事情.
错误40查找资源字典"Assets/ToolkitStyles.xaml"时发生错误.X:\ Projects\ISMM\ISMM.SilverlightUI\app.xaml 18 17 ISMM.SilverlightUI
错误20未找到程序集"System.Windows.Controls.DataVisualization.Toolkit".验证您没有错过程序集引用.此外,验证是否已构建项目和所有引用的程序集.X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1 603 ISMM.SilverlightUI
错误19未找到程序集"System.Windows.Controls.Input.Toolkit".验证您没有错过程序集引用.此外,验证是否已构建项目和所有引用的程序集.X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1 421 ISMM.SilverlightUI
错误39在"图例"类型中找不到可附加属性"效果".X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 2204 38 ISMM.SilverlightUI错误34在"DataField"类型中找不到可附加属性"IsFieldGroup".X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1738 27 ISMM.SilverlightUI
错误31在"LayoutTransformer"类型中找不到可附加属性"LayoutTransform".X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1619 38 ISMM.SilverlightUI
错误13 XML命名空间"http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"中的"网格"类型上不存在属性"IsFieldGroup".X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1738 27 ISMM.SilverlightUI
错误11 XML命名空间"http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"中不存在标记"AccordionButton".X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1622 38 ISMM.SilverlightUI错误2 XML命名空间中的标签'ButtonSpinner'不存在'http://schemas.microsoft.com/winfx/2006/xaml /演示/工具包".X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 565 26 ISMM.SilverlightUI
错误3 XML名称空间"http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"中不存在标记"ButtonSpinner".X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 665 26 ISMM.SilverlightUI
错误4 XML命名空间"http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"中不存在标记"ButtonSpinner".X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 896 26 ISMM.SilverlightUI错误16 XML命名空间'clr-namespace中不存在标记'EdgePanel':System.Windows.Controls.DataVisualization.Charting.Primitives ;装配= System.Windows.Controls.DataVisualization.Toolkit".X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 2199 34 ISMM.SilverlightUI
错误1 XML名称空间"http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"中不存在标记"ExpandableContentControl".X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 365 34 ISMM.SilverlightUI错误12 XML名称空间"http://schemas.microsoft.com/winfx/2006/xaml"中不存在标记"ExpandableContentControl" /演示/工具包".X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1624 34 ISMM.SilverlightUI
错误9 XML命名空间"http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"中不存在标记"LayoutTransformer".X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1455 38 ISMM.SilverlightUI错误10 XML命名空间中的标签'LayoutTransformer'不存在'http://schemas.microsoft.com/winfx/2006/xaml /演示/工具包".X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1618 34 ISMM.SilverlightUI
错误17 XML名称空间"http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"中不存在标记"图例".X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 2203 34 ISMM.SilverlightUI错误5 XML命名空间'clr-namespace中不存在标记'LinearClipper':System.Windows.Controls.Primitives; assembly = System .Windows.Controls.Input.Toolkit".X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 975 26 ISMM.SilverlightUI
错误7 XML名称空间"http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"中不存在标记"ListTimePickerPopup".X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1122 22 ISMM.SilverlightUI
错误14 XML命名空间"http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"中不存在标记"ResourceDictionaryCollection".X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1960 18 ISMM.SilverlightUI
错误6 XML名称空间"http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"中不存在标记"TimePickerPopupTemplate".X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1121 18 ISMM.SilverlightUI
错误8 XML名称空间"http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"中不存在标记"TimeUpDown".X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1230 26 ISMM.SilverlightUI
错误15 XML名称空间"http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"中不存在标记"标题".X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 2193 30 ISMM.SilverlightUI
错误37找不到类型'dvp:EdgePanel'.验证您是否缺少程序集引用,并且已构建所有引用的程序集.X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 2199 34 ISMM.SilverlightUI
错误25找不到类型'prim:LinearClipper'.验证您是否缺少程序集引用,并且已构建所有引用的程序集.X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 975 26 ISMM.SilverlightUI
错误32找不到类型'toolkit:AccordionButton'.验证您是否缺少程序集引用,并且已构建所有引用的程序集.X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1622 38 ISMM.SilverlightUI
错误22找不到类型'toolkit:ButtonSpinner'.验证您是否缺少程序集引用,并且已构建所有引用的程序集.X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 565 26 ISMM.SilverlightUI
错误23找不到类型'toolkit:ButtonSpinner'.验证您是否缺少程序集引用,并且已构建所有引用的程序集.X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 665 26 ISMM.SilverlightUI
错误24找不到类型'toolkit:ButtonSpinner'.验证您是否缺少程序集引用,并且已构建所有引用的程序集.X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 896 26 ISMM.SilverlightUI
错误21找不到类型'toolkit:ExpandableContentControl'.验证您是否缺少程序集引用,并且已构建所有引用的程序集.X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 365 34 ISMM.SilverlightUI
错误33找不到类型'toolkit:ExpandableContentControl'.验证您是否缺少程序集引用,并且已构建所有引用的程序集.X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1624 34 ISMM.SilverlightUI
错误29找不到类型'toolkit:LayoutTransformer'.验证您是否缺少程序集引用,并且已构建所有引用的程序集.X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1455 38 ISMM.SilverlightUI
错误30找不到类型'toolkit:LayoutTransformer'.验证您是否缺少程序集引用,并且已构建所有引用的程序集.X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1618 34 ISMM.SilverlightUI错误38找不到类型'toolkit:Legend'.验证您是否缺少程序集引用,并且已构建所有引用的程序集.X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 2203 34 ISMM.SilverlightUI
错误27找不到类型'toolkit:ListTimePickerPopup'.验证您是否缺少程序集引用,并且已构建所有引用的程序集.X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1122 22 ISMM.SilverlightUI
错误35找不到类型'toolkit:ResourceDictionaryCollection'.验证您是否缺少程序集引用,并且已构建所有引用的程序集.X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1960 18 ISMM.SilverlightUI
错误26找不到类型'toolkit:TimePickerPopupTemplate'.验证您是否缺少程序集引用,并且已构建所有引用的程序集.X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1121 18 ISMM.SilverlightUI
错误28找不到类型'toolkit:TimeUpDown'.验证您是否缺少程序集引用,并且已构建所有引用的程序集.X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 1230 26 ISMM.SilverlightUI
错误36找不到类型'toolkit:Title'.验证您是否缺少程序集引用,并且已构建所有引用的程序集.X:\ Projects\ISMM\ISMM.SilverlightUI\Assets\ToolkitStyles.xaml 2193 30 ISMM.SilverlightUI
看起来像Toolkit问题.你在项目中有什么参考?
有很多组件构成了工具包.看起来他们想要的是'System.Windows.Controls.DataVisualization.Toolkit'和'System.Windows.Controls.Input.Toolkit'.DockPanel是'System.Windows.Controls.Toolkit'的一部分或类似的东西,因此在拖动DockPanel时可能已经添加了一个.
| 归档时间: |
|
| 查看次数: |
6185 次 |
| 最近记录: |