私のファイルxamlnそのcsファイルは、電源がオフになったときにVisualStudio2010で開いていました。電源が戻ってプロジェクトを開いたとき、そのxamlncsファイルを開くことができません。そのプロジェクトの他のすべてのxamlncsファイルを開くことができます。ただし、これら2つのファイルのみを開くことはできません。
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ファイルを開くことができません..ビジュアルスタジオで開こうとすると、メモ帳で開きます..そしてその空白..何も入っていません