开发者

Visual Studio 2010: Editor Slow -> SmartTags Exceptions?

开发者 https://www.devze.com 2023-03-29 20:11 出处:网络
sometimes the VS2010 Editor is incredibly slow (1 char/sec). But at first the same editor window, same document, performs well.

sometimes the VS2010 Editor is incredibly slow (1 char/sec). But at first the same editor window, same document, performs well.

Editor: Html with Razor

I attached another VS instance to slow instance and got this multiple times in the Debug Output window:

A first chance exception of type 'System.Null开发者_Go百科ReferenceException' occurred in Microsoft.VisualStudio.CSharp.SmartTags.dll

How can I solve this?

Edit:

Additional information: if I close the tab and reopen the document it performs well but only for some time.


I had the same problem. I manage to solve this by following the steps in this blog.

I didn't have to do all of the steps. The step that "saved" me was

Disable "Rich client visual experience" in the "Options - Environment". Here's how that settings page should look:screenshot

I hope this will solve your problem.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号