0
我在嘗試將PivotViewer控件拖到MainPage.xaml上時收到此錯誤。未指定錯誤(來自HRESULT(E_FAIL)的異常)
,導致了這個地步的步驟如下......
- 安裝PivotViewer SDK
- 創建一個新的Silverlight業務應用程序
- 添加到系統的參考。 Windows.Pivot
將此項添加到我在XAML中的UserControl標記中:
周的xmlns:樞軸= 「CLR-名稱空間:System.Windows.Pivot;裝配= System.Windows.Pivot」
拖PivotViewer控制到MainPage.xaml中
任何解決方案?
編輯這裏有錯誤消息
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)