System.IO.FileLoadException error report when open cshtml file

0

When open cshtml file in vs2017, I get the following error in my ActivityLog.xml; please refer:

<entry>
    <record>811</record>
    <time>2020/12/29 02:38:09.681</time>
    <type>Error</type>
    <source>Editor or Editor Extension</source>
    <description>System.IO.FileLoadException: &#x672A;&#x80FD;&#x52A0;&#x8F7D;&#x6587;&#x4EF6;&#x6216;&#x7A0B;&#x5E8F;&#x96C6;&#x201C;stdole, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&#x201D;&#x6216;&#x5B83;&#x7684;&#x67D0;&#x4E00;&#x4E2A;&#x4F9D;&#x8D56;&#x9879;&#x3002;&#x627E;&#x5230;&#x7684;&#x7A0B;&#x5E8F;&#x96C6;&#x6E05;&#x5355;&#x5B9A;&#x4E49;&#x4E0E;&#x7A0B;&#x5E8F;&#x96C6;&#x5F15;&#x7528;&#x4E0D;&#x5339;&#x914D;&#x3002; (&#x5F02;&#x5E38;&#x6765;&#x81EA; HRESULT:0x80131040)&#x000D;&#x000A;&#x6587;&#x4EF6;&#x540D;:&#x201C;stdole, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&#x201D;&#x000D;&#x000A;   &#x5728; Microsoft.VisualStudio.JavaScript.Web.Extensions.Interop.HTMLEditor.HTMLTreeHelperFactory.Create(ITextBuffer buffer)&#x000D;&#x000A;   &#x5728; Microsoft.VisualStudio.JavaScript.Web.Extensions.Interop.HTMLEditor.HTMLTreeHelperFactory.&lt;&gt;c__DisplayClass0_0.&lt;GetOrCreate&gt;b__0()&#x000D;&#x000A;   &#x5728; Microsoft.VisualStudio.Utilities.PropertyCollection.GetOrCreateSingletonProperty[T](Object key, Func`1 creator)&#x000D;&#x000A;   &#x5728; Microsoft.VisualStudio.JavaScript.Web.Extensions.Interop.HTMLEditor.HTMLTreeHelperFactory.GetOrCreate(ITextBuffer buffer)&#x000D;&#x000A;   &#x5728; Microsoft.VisualStudio.JavaScript.Web.Extensions.Classification.SPARegionTagger..ctor(ITextView view, ITextBuffer sourceBuffer, ISPASupportedTagProvider tagNameProver)&#x000D;&#x000A;   &#x5728; Microsoft.VisualStudio.JavaScript.Web.Extensions.Classification.SPARegionTaggerProvider.&lt;&gt;c__DisplayClass2_0`1.&lt;CreateTagger&gt;b__0()&#x000D;&#x000A;   &#x5728; Microsoft.VisualStudio.Utilities.PropertyCollection.GetOrCreateSingletonProperty[T](Object key, Func`1 creator)&#x000D;&#x000A;   &#x5728; Microsoft.VisualStudio.JavaScript.Web.Extensions.Classification.SPARegionTaggerProvider.CreateTagger[T](ITextView textView, ITextBuffer buffer)&#x000D;&#x000A;   &#x5728; Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.GatherTaggers(ITextBuffer textBuffer)&#x000D;&#x000A;--- &#x5F15;&#x53D1;&#x5F02;&#x5E38;&#x7684;&#x4E0A;&#x4E00;&#x4F4D;&#x7F6E;&#x4E2D;&#x5806;&#x6808;&#x8DDF;&#x8E2A;&#x7684;&#x672B;&#x5C3E; ---&#x000D;&#x000A;   &#x5728; Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)&#x000D;&#x000A;&#x000D;&#x000A;&#x8B66;&#x544A;: &#x7A0B;&#x5E8F;&#x96C6;&#x7ED1;&#x5B9A;&#x65E5;&#x5FD7;&#x8BB0;&#x5F55;&#x88AB;&#x5173;&#x95ED;&#x3002;&#x000D;&#x000A;&#x8981;&#x542F;&#x7528;&#x7A0B;&#x5E8F;&#x96C6;&#x7ED1;&#x5B9A;&#x5931;&#x8D25;&#x65E5;&#x5FD7;&#x8BB0;&#x5F55;&#xFF0C;&#x8BF7;&#x5C06;&#x6CE8;&#x518C;&#x8868;&#x503C; [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD)&#x8BBE;&#x7F6E;&#x4E3A; 1&#x3002;&#x000D;&#x000A;&#x6CE8;&#x610F;: &#x4F1A;&#x6709;&#x4E00;&#x4E9B;&#x4E0E;&#x7A0B;&#x5E8F;&#x96C6;&#x7ED1;&#x5B9A;&#x5931;&#x8D25;&#x65E5;&#x5FD7;&#x8BB0;&#x5F55;&#x5173;&#x8054;&#x7684;&#x6027;&#x80FD;&#x635F;&#x5931;&#x3002;&#x000D;&#x000A;&#x8981;&#x5173;&#x95ED;&#x6B64;&#x529F;&#x80FD;&#xFF0C;&#x8BF7;&#x79FB;&#x9664;&#x6CE8;&#x518C;&#x8868;&#x503C; [HKLM\Software\Microsoft\Fusion!EnableLog]&#x3002;&#x000D;&#x000A;</description>
  </entry>
visual-studio
razor
visual-studio-2017
asked on Stack Overflow Dec 29, 2020 by wqqwqq666

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0