Just started learning WP7 platform. Don't even know how to describe occurred error. It happens all the time when I'm creating new project (Silverlight for Windows Phone
project).
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)
Re-installing Windows solved this mysterious problem.
According to this info on connect.microsoft.com (see the "Workaround" tab), a possible workaround is to reinstall the Windows Phone tools.
re-installing vs2010 SP1 has worked wonders for weird issues i was having.. Worth a try.
User contributions licensed under CC BY-SA 3.0