.net 未指定错误(HRESULT异常(E_失败))
当我尝试将PivotViewer控件拖到MainPage.xaml上时,收到此错误 引导我达到这一点的步骤如下.net 未指定错误(HRESULT异常(E_失败)),.net,silverlight,pivotviewer,.net,Silverlight,Pivotviewer,当我尝试将PivotViewer控件拖到MainPage.xaml上时,收到此错误 引导我达到这一点的步骤如下 已安装的PivotViewer SDK 创建了一个新的Silverlight业务应用程序 添加了对System.Windows.Pivot的引用 将此添加到XAML中的my UserControl标记中: xmlns:pivot=“clr命名空间:System.Windows.pivot;assembly=System.Windows.pivot” 将PivotViewer控件拖到M
Error HRESULT E_FAIL has been returned from a call to a COM component.
at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
at MS.Internal.XcpImports.MethodPack(IntPtr objectPtr, String methodName, Object[] rawData)
at MS.Internal.XcpImports.Collection_Add[T](PresentationFrameworkCollection`1 collection, Object value)
at System.Windows.PresentationFrameworkCollection`1.AddImpl(Object value)
at System.Windows.PresentationFrameworkCollection`1.System.Collections.IList.Add(Object value)
at Microsoft.Expression.DesignModel.InstanceBuilders.ClrObjectInstanceBuilder.InstantiateChildren(IInstanceBuilderContext context, ViewNode viewNode, DocumentCompositeNode compositeNode, Boolean isNewInstance)
PivotViewer需要Silverlight工具包。您的项目中是否引用了工具箱?这可能就是轰炸的原因