0
我的文件xaml n其cs文件在電源關閉時在Visual Studio 2010中打開。現在,當權力回來,我打開我的項目..我無法打開該xaml n cs文件。我可以打開該項目的所有其他xaml n cs文件。但不能打開這兩個文件。Silverlight - (Xaml)文件是否損壞?
XAML頁面上我得到N錯誤
An unhandled exception has occured
Details:
System.Runtime.InteropServices.COMException
Exception from HRESULT: 0x80041FEB
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
at MS.Internal.Providers.DocDataFactory.CreateAndRegisterDocData(IServiceProvider services, String fileName)
at MS.Internal.Providers.VSDesignerContext.GetDocData(String fileName)
at MS.Internal.Providers.VSDesignerContext.Initialize(IServiceProvider provider, IVsHierarchy hierarchy, UInt32 itemid, Object docDataObj)
at MS.Internal.Providers.VSDesignerContext..ctor(IServiceProvider provider, IVsWindowFrame frame, Object docDataObj)
at MS.Internal.Providers.VSDesignerContext.GetContext(IServiceProvider services, IVsWindowFrame frame, Boolean createIfNotExist)
at MS.Internal.Designer.TabbedEditorPane.MS.Internal.Designer.ITabbedEditorService.get_DesignerContext()
at MS.Internal.Designer.DesignerPane.InitializeDesigner()
到底是什麼呢?它是損壞的還是別的?
,也是我無法打開CS文件..當我嘗試它在記事本中打開..和它的空白..沒有在它