未知错误XAML

时间:2012-02-15 14:38:07

标签: visual-studio-2010 windows-phone-7 xaml

刚开始学习WP7平台。甚至不知道如何描述发生的错误。当我创建新项目(Silverlight for Windows Phone项目)时,它会一直发生。

System.Exception
Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
   at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
   at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size     availableSize)
   at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
   at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single    inHeight, Single& outWidth, Single& outHeight)

enter image description here

3 个答案:

答案 0 :(得分:2)

重新安装Windows解决了这个神秘的问题。

答案 1 :(得分:0)

根据connect.microsoft.com上的此信息(请参阅“替代方法”标签),可能的解决方法是重新安装Windows Phone工具。

答案 2 :(得分:0)

重新安装vs2010 SP1为我遇到的奇怪问题创造了奇迹......值得一试。