Visual Studio 2010 Expressでコード編集中に例外が発生してしまいます。
Visual Studio は例外を検出しました。拡張機能が原因である可能性があります。
詳細な情報を得るには、コマンドラインで /log パラメーターを指定してアプリケーションを実行し、’C:\Documents and Settings\xxxx\Application Data\Microsoft\VisualStudio\10.0\ActivityLog.xml’ ファイルを調べて下さい。
というダイアログが出ます。
指示通り /log を付けてVS 2010を起動後、activitylog.xml を開くと、問題に関連していそうな次のようなメッセージがありました。
System.IO.FileNotFoundException: 指定されたファイルが見つかりません。
場所 MS.Internal.Text.TextInterface.Native.Util.ConvertHresultToException(Int32 hr)
場所 MS.Internal.Text.TextInterface.Font.CreateFontFace()
場所 MS.Internal.Text.TextInterface.Font.AddFontFaceToCache()
場所 MS.Internal.Text.TextInterface.Font.GetFontFace()
場所 System.Windows.Media.GlyphTypeface..ctor(Font font)
場所 MS.Internal.FontFace.PhysicalFontFamily.GetGlyphTypeface(FontStyle style, FontWeight weight, FontStretch stretch)
場所 MS.Internal.FontFace.PhysicalFontFamily.MS.Internal.FontFace.IFontFamily.GetTypefaceMetrics(FontStyle style, FontWeight weight, FontStretch stretch)
場所 System.Windows.Media.Typeface.ConstructCachedTypeface()
場所 System.Windows.Media.Typeface.get_CachedTypeface()
場所 System.Windows.Media.Typeface.CheckFastPathNominalGlyphs(CharacterBufferRange charBufferRange, Double emSize, Double scalingFactor, Double widthMax, Boolean keepAWord, Boolean numberSubstitution, CultureInfo cultureInfo, TextFormattingMode textFormattingMode, Boolean isSideways, Boolean breakOnTabs, Int32& stringLengthFit)場所 MS.Internal.TextFormatting.SimpleRun.CreateSimpleTextRun(CharacterBufferRange charBufferRange, TextRun textRun, TextFormatterImp formatter, Int32 widthLeft, Boolean emergencyWrap, Boolean breakOnTabs)
場所 MS.Internal.TextFormatting.SimpleRun.Create(FormatSettings settings, CharacterBufferRange charString, TextRun textRun, Int32 cp, Int32 cpFirst, Int32 runLength, Int32 widthLeft, Int32 idealRunOffsetUnRounded)
場所 MS.Internal.TextFormatting.SimpleTextLine.Create(FormatSettings settings, Int32 cpFirst, Int32 paragraphWidth)
場所 MS.Internal.TextFormatting.TextFormatterImp.FormatLineInternal(TextSource textSource, Int32 firstCharIndex, Int32 lineLength, Double paragraphWidth, TextParagraphProperties paragraphProperties, TextLineBreak previousLineBreak, TextRunCache textRunCache)
場所 MS.Internal.TextFormatting.TextFormatterImp.FormatLine(TextSource textSource, Int32 firstCharIndex, Double paragraphWidth, TextParagraphProperties paragraphProperties, TextLineBreak previousLineBreak)
場所 System.Windows.Media.FormattedText.LineEnumerator.FormatLine(TextSource textSource, Int32 textSourcePosition, Double maxLineLength, TextParagraphProperties paraProps, TextLineBreak lineBreak)
場所 System.Windows.Media.FormattedText.LineEnumerator.MoveNext()
場所 System.Windows.Media.FormattedText.DrawAndCalculateMetrics(DrawingContext dc, Point drawingOffset, Boolean getBlackBoxMetrics)
場所 System.Windows.Media.FormattedText.get_Metrics()
場所 Microsoft.VisualStudio.Text.Formatting.Implementation.TextInfoCache.GetTextInfo(TextRunProperties key)
場所 Microsoft.VisualStudio.Text.Formatting.Implementation.FormattedTextSourceFactoryService.Create(ITextSnapshot sourceTextSnapshot, ITextSnapshot visualBufferSnapshot, Int32 tabSize, Double baseIndentation, Double wordWrapWidth, Double maxAutoIndent, Boolean useDisplayMode, IClassifier aggregateClassifier, ITextAndAdornmentSequencer sequencer, IClassificationFormatMap classificationFormatMap, Boolean isViewWrapEnabled)
場所 Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.PerformLayout(ITextSnapshot newSnapshot, ITextSnapshot newVisualSnapshot, SnapshotPoint anchorPosition, Double verticalDistance, ViewRelativePosition relativeTo, Double effectiveViewportWidth, Double effectiveViewportHeight)
場所 Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.PerformLayout(ITextSnapshot newSnapshot, ITextSnapshot newVisualSnapshot)
場所 Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView..ctor(ITextViewModel textViewModel, ITextViewRoleSet roles, IEditorOptions parentOptions, WpfTextEditorFactoryService factoryService)
場所 Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextEditorFactoryService.CreateAndTrackTextView(ITextViewModel viewModel, ITextViewRoleSet roles, IEditorOptions parentOptions)
場所 Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextEditorFactoryService.CreateAndTrackTextView(ITextDataModel dataModel, ITextViewRoleSet roles, IEditorOptions parentOptions)
場所 Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextEditorFactoryService.CreateTextView(ITextDataModel dataModel, ITextViewRoleSet roles, IEditorOptions parentOptions)
場所 Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextEditorFactoryService.CreateTextView(ITextBuffer textBuffer, ITextViewRoleSet roles)
場所 Microsoft.VisualStudio.Language.Intellisense.Implementation.SignatureHelpSessionView.CreateSignatureTextView()
場所 Microsoft.VisualStudio.Language.Intellisense.Implementation.SignatureHelpSessionView.BindToSession()
場所 Microsoft.VisualStudio.Language.Intellisense.Implementation.DefaultSignatureHelpPresenter.AttachToSession(ISignatureHelpSession session)
場所 Microsoft.VisualStudio.Language.Intellisense.Implementation.DefaultSignatureHelpPresenterProvider.TryCreateIntellisensePresenter(IIntellisenseSession session)
場所 Microsoft.VisualStudio.Language.Intellisense.Implementation.Helpers.<>c__DisplayClass3.<FindPresenter>b__1(IIntellisensePresenterProvider factory)場所 Microsoft.VisualStudio.Text.Utilities.GuardedOperations.InstantiateExtension[TExtension,TMetadata,TExtensionInstance](Object errorSource, Lazy`2 provider, Func`2 getter)
発生条件ですが、インテリセンスで関数シグネチャを表示させようとした瞬間に落ちているようです。例えば
printf(
と括弧を打ち込んだ瞬間に上記エラーが発生します。
http://social.msdn.microsoft.com/Forums/ja/vcgeneralja/thread/3f873e9c-eadb-45a1-af96-72712dcfd4fb
こちらも参考にしましたが、レジストリのキーは正常ですし、指定されたパスにはファイルが存在しております。
VS2010 Expressのアンインストール・再インストールも試してみましたが、こちらも特に影響はありませんでした。
もし何かこの問題に対する情報など御座いましたら教えて頂けないでしょうか。
宜しくお願いいたします。