Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/sqlite/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Windows phone 7 混合异常_Windows Phone 7_Expression Blend - Fatal编程技术网

Windows phone 7 混合异常

Windows phone 7 混合异常,windows-phone-7,expression-blend,Windows Phone 7,Expression Blend,我正在编写wp7。为了设计UI,我在ExpressionBlend中打开了.xaml文件,并且工作得非常好。但今天,我无法用这种方式来代替expression blend中抛出的这个异常 调用COM组件时返回错误HRESULT E_FAIL 引发了一个异常。异常:错误HRESULT E_FAIL已被删除 从对COM组件的调用返回。StackTrace在 MS.Internal.XcpImports.CheckHResult(UInt32小时)位于 MS.Internal.XcpImports.C

我正在编写wp7。为了设计UI,我在ExpressionBlend中打开了.xaml文件,并且工作得非常好。但今天,我无法用这种方式来代替expression blend中抛出的这个异常

调用COM组件时返回错误HRESULT E_FAIL

引发了一个异常。异常:错误HRESULT E_FAIL已被删除 从对COM组件的调用返回。StackTrace在 MS.Internal.XcpImports.CheckHResult(UInt32小时)位于 MS.Internal.XcpImports.Collection\u InsertValue[T](PresentationFrameworkCollection
1
收藏,在
MS.Internal.XcpImports.Collection\u InsertDependencyObject[T](PresentationFrameworkCollection
在
System.Windows.PresentationFrameworkCollection
1.InsertDependencyObject 位于System.Windows.Controls.UIElementCollection.InsertInternal(Int32 索引,UIElement值)InnerExpection:无


请问,我如何解决这个问题?

您是否尝试过创建一个全新的WP7项目并在Expression Blend中打开它?如果这样做正确(我希望它会成功),则您的.xaml文件有问题。请尝试简化有问题的.xaml文件,直到它开始在Expression Blend中正确显示。然后您可以确定问题所在。否则,请发布您的.xaml文件。您看到了吗?干杯,