gpt4 book ai didi

crash - 在编辑器中打开任何文件时,Visual Studio 2015崩溃

转载 作者:行者123 更新时间:2023-12-03 17:19:05 25 4
gpt4 key购买 nike

我对VS2015有一些问题:当我打开任何项目并尝试打开文件进行编辑时-VS2015崩溃。我尝试重新安装,所有/ commands等等。

ActivityLog.xml:

  <entry>
<record>430</record>
<time>2015/11/03 14:46:35.669</time>
<type>Error</type>
<source>Editor or Editor Extension</source>
<description>System.IO.FileFormatException: Input file or data stream does not conform to the expected file format specification. ---&gt; System.IO.FileFormatException: Input file or data stream does not conform to the expected file format specification.&#x000D;&#x000A; at MS.Internal.Text.TextInterface.Native.Util.ConvertHresultToException(Int32 hr)&#x000D;&#x000A; at MS.Internal.Text.TextInterface.Font.CreateFontFace()&#x000D;&#x000A; at MS.Internal.Text.TextInterface.Font.AddFontFaceToCache()&#x000D;&#x000A; at MS.Internal.Text.TextInterface.Font.GetFontFace()&#x000D;&#x000A; at System.Windows.Media.GlyphTypeface..ctor(Font font)&#x000D;&#x000A; at MS.Internal.FontFace.PhysicalFontFamily.GetGlyphTypeface(FontStyle style, FontWeight weight, FontStretch stretch)&#x000D;&#x000A; at MS.Internal.FontFace.PhysicalFontFamily.MS.Internal.FontFace.IFontFamily.GetTypefaceMetrics(FontStyle style, FontWeight weight, FontStretch stretch)&#x000D;&#x000A; at System.Windows.Media.Typeface.ConstructCachedTypeface()&#x000D;&#x000A; at System.Windows.Media.Typeface.get_CachedTypeface()&#x000D;&#x000A; at System.Windows.Media.Typeface.get_Symbol()&#x000D;&#x000A; at MS.Internal.TextFormatting.TextStore.FetchTextRun(Int32 cpFetch)&#x000D;&#x000A; at MS.Internal.TextFormatting.TextStore.FetchLSRun(Int32 lscpFetch, TextFormattingMode textFormattingMode, Boolean isSideways, Plsrun&amp; plsrun, Int32&amp; lsrunOffset, Int32&amp; lsrunLength)&#x000D;&#x000A; at MS.Internal.TextFormatting.LineServicesCallbacks.FetchRunRedefined(IntPtr pols, Int32 lscpFetch, Int32 fIsStyle, IntPtr pstyle, Char* pwchTextBuffer, Int32 cchTextBuffer, Int32&amp; fIsBufferUsed, Char*&amp; pwchText, Int32&amp; cchText, Int32&amp; fIsHidden, LsChp&amp; lschp, IntPtr&amp; lsplsrun)&#x000D;&#x000A; --- End of inner exception stack trace ---&#x000D;&#x000A; at MS.Internal.TextFormatting.TextMetrics.FullTextLine.FormatLine(FullTextState fullText, Int32 cpFirst, Int32 lineLength, Int32 formatWidth, Int32 finiteFormatWidth, Int32 paragraphWidth, LineFlags lineFlags, FormattedTextSymbols collapsingSymbol)&#x000D;&#x000A; at MS.Internal.TextFormatting.TextFormatterImp.FormatLineInternal(TextSource textSource, Int32 firstCharIndex, Int32 lineLength, Double paragraphWidth, TextParagraphProperties paragraphProperties, TextLineBreak previousLineBreak, TextRunCache textRunCache)&#x000D;&#x000A; at MS.Internal.TextFormatting.TextFormatterImp.FormatLine(TextSource textSource, Int32 firstCharIndex, Double paragraphWidth, TextParagraphProperties paragraphProperties, TextLineBreak previousLineBreak)&#x000D;&#x000A; at System.Windows.Media.FormattedText.LineEnumerator.FormatLine(TextSource textSource, Int32 textSourcePosition, Double maxLineLength, TextParagraphProperties paraProps, TextLineBreak lineBreak)&#x000D;&#x000A; at System.Windows.Media.FormattedText.LineEnumerator.MoveNext()&#x000D;&#x000A; at System.Windows.Media.FormattedText.DrawAndCalculateMetrics(DrawingContext dc, Point drawingOffset, Boolean getBlackBoxMetrics)&#x000D;&#x000A; at System.Windows.Media.FormattedText.get_Metrics()&#x000D;&#x000A; at Microsoft.VisualStudio.Language.Intellisense.Implementation.CodeLensInterLineAdornmentTaggerProvider.TextFormatCache.UpdateTextHeight()&#x000D;&#x000A; at Microsoft.VisualStudio.Language.Intellisense.Implementation.CodeLensInterLineAdornmentTaggerProvider.TextFormatCache.EnsureInitialized()&#x000D;&#x000A; at Microsoft.VisualStudio.Language.Intellisense.Implementation.CodeLensInterLineAdornmentTaggerProvider.CodeLensInterLineAdornmentTagger.GetTags(NormalizedSnapshotSpanCollection spans)&#x000D;&#x000A; at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.&lt;GetTagsForBuffer&gt;d__38.MoveNext()</description>
</entry>

我发现了一个问题。 CodeLens损坏。如果我将其关闭,那么它将起作用。我如何修复CodeLens?字体有问题(ActivityLog.txt用字体显示一些方法)?

最佳答案

我修复了CodeLens。我开始通过CCleaner检查注册表错误并修复所有错误。

关于crash - 在编辑器中打开任何文件时,Visual Studio 2015崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33502095/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com