我有一个 XAML 页面,当您第一次打开页面时,它会在设计器中正确加载。页面上的控件之一是Telerik RadMenu
. 如果单击 Visual Studio 设计器中的 RadMenuItem 之一,则会引发以下异常。
异常:对 COM 组件的调用已返回错误 HRESULT E_FAIL。
堆栈跟踪:
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.Collection_InsertValue[T](PresentationFrameworkCollection`1 collection, UInt32 index, CValue value)
at MS.Internal.XcpImports.Collection_InsertDependencyObject[T](PresentationFrameworkCollection`1 collection, UInt32 index, DependencyObject value)
at System.Windows.PresentationFrameworkCollection`1.InsertDependencyObject(Int32 index, DependencyObject value)
at System.Windows.Controls.UIElementCollection.InsertInternal(Int32 index, UIElement value)
内部异常:无
这会阻止设计器工作,使其再次工作的唯一方法是关闭 + 重新打开 Visual Studio。这是我的错误XAML
还是需要向 Telerik / Microsoft 报告的问题?