Visual Studio 2010 crash restart problem of source file compilation crash

  • 2020-05-24 05:24:48
  • OfStack

A week ago, Visual Studio 2010 suddenly crashed. In the source file modification as long as 1 compile, immediately crash, and does not pop up any exception window, seriously affect the software development work.

google has countless solutions
It doesn't work either with the following website:
1) http: / / blog. sina. com. cn/s/blog_68cb7e090101963d html
For 32-bit operating systems, run the following command:
regsvr32 "c:\Program Files\Internet Explorer\ieproxy.dll"
For 64-bit operating systems, run the following command:
regsvr32 "c:\Program Files (x86)\Internet Explorer\ieproxy.dll"
The above commands must be run with administrator privileges. If not, then:
regsvr32 c:\Windows\System32\ole32.dll
None of this works.
He gives some reference links:
http://support.microsoft.com/kb/983279/en-us
http://connect.microsoft.com/VisualStudio/feedback/details/618802/visual-studio-andom-frequent-crash
http://social.msdn.microsoft.com/Forums/zh-SG/vssetup/thread/ac890e5c-2de6-4526-86fb-9a3cd77ec80e
The plugin AnkHSVN is known to cause the same problem:
http://blogs.msdn.com/b/visualstudio/archive/2010/05/11/if-you-are-seeing-intermittent-crashes-with-vs-2010.aspx
I thought it was the problem of SVN and VisualAssistX, but it still failed after unloading.
Banning some plug-ins from Visual Studio 2010 and changing the source control system to "none" still won't work.

2) after one toss, the problem arose again.
When opening a project or solution in VS2010, an error occurred: "operation could not be completed. ClassFactory cannot supply the requested class. "the following url has a solution.
http://www.cnblogs.com/helloworldexcepition/archive/2012/01/13/2321171.html
But VS2010 still crashed.

3) it has been decided to reinstall Windows 7 after nearly one day's trial and error
Install windows7 on the second day, install common software, New Year's day, operating system every year not reinstall are embarrassed to say that they are engaged in IT.
The installation of Visual Studio 2010 and SP1 was finally normal for a while

4) I didn't expect that the problem of constant collapse would come up again today
Some patches are also suspected
google1 times again, found the url: http: / / social msdn. microsoft. com Forums/en/vsdebug/thread/c - bffb b33 cea5e4b2-5-453-8 da9f1a1fa4a
This is discussed in more detail, the symptoms of the problem seem to be very similar to mine
The & # 8226; Comment AssemblyVersion in the AssemblyInfo.cs file
The & # 8226; Close the window designer
The & # 8226; Delete SUO
Are useless.

5) say again with this patch, https: / / connect microsoft. com VisualStudio/Downloads/DownloadDetails aspx? DownloadID=36847 download the installation still does not work.

6) looking at this post again, it turns out that this problem has existed for N, and Microsoft 1 has not solved it.
http://social.msdn.microsoft.com/Forums/en/msbuild/thread/6f76db9a-ea37-42b3-a016-571912c28032
Finally, it was felt that when the debugger was abnormally suspended, a file was locked, and Visual Studio 2010 was not properly unlocked, resulting in a crash.

So I'm running VS2010 with administrator privileges. There's no problem for now. Let's see when this problem comes up again.
Maybe the problem is not really solved, so let's write it down here.

Related articles: