Visual studio is waiting for internal operation to

2020-05-17 01:43发布

I have problem with my Visual studio 2013 Ultimate from few days. I'm trying to open even simplest console application and VS hangs and when I click something else in Visual studio in the bottom right corner shows up Visual studio is busy: Microsoft Visual studio is waiting for internal operation to complete.

I have repaired Visual studio no change, then unistall and install fresh VS and the problem is still there. I also checked for viruses. Everything else in Windows is working properly. I have disabled CodeLens, changed current source control plug-in to None because I found that sometimes this two options hangs vs but there is still no change.

17条回答
Fickle 薄情
2楼-- · 2020-05-17 01:59

There are also some steps, like to clean different cache you can follow, but it hasn't solved my problem… Check this blog post.

The important part of it:

There could be many reasons behind this. Few common fixes are below:

  1. Remove website cache from following location: C:\Users\%USERNAME%\AppData\Local\Microsoft\WebsiteCache
  2. Restart IIS: Start → RUN → iisreset
  3. Go to Tools → Options and browse all the options and disable all unnecessary options.
  4. Clear cache.
  5. Remove temp files.
  6. Ensure there is enough space in C (System) drive.

Update 2017-01-03
There are also ASP.NET caches in C:\Windows\Microsoft.NET framework folders, but this is rather for website or debug cache problems. When in the mentioned folder, search for "Temporary ASP.NET Files" in sub-directories and delete their content. If some files are locked, then iisreset should help.

查看更多
一夜七次
3楼-- · 2020-05-17 02:05

The problem is fixed ... I make new console project and waited twenty minutes to actually create the project. After creation now every project opens immediately without any problem.

查看更多
我命由我不由天
4楼-- · 2020-05-17 02:05

This worked for me: I deleted my .suo and .tss temp files, then tried again. In the past I had created a new blank SLN, and added my projects back to it - that also works.

查看更多
Bombasti
5楼-- · 2020-05-17 02:08

From this superuser post, delete the .suo (.vs12.suo for me) file from the solution directory. Worked for me in VS2013.

查看更多
迷人小祖宗
6楼-- · 2020-05-17 02:11

I had a similar problem when trying to load Xamarin project. Regretfully, deleting *.suo file, as well as other answers mentioned here, did not help.

The solution was to reset Visual Studio settings, as described at https://blogs.msdn.microsoft.com/willy-peter_schaub/2010/09/15/if-you-have-problems-with-tfs-or-visual-studio-flush-the-user-cache-or-not/

Delete the contents from the following folders:

  • C:\Users\<>\AppData\Local\Microsoft\Team Foundation
  • C:\Users\<>\AppData\Local\Microsoft\VisualStudio
  • C:\Users\<>\AppData\Local\Microsoft\VSCommon

Go to the Visual Studio IDE folder in command prompt and Run the following command “devenv /resetuserdata” from the Visual Studio IDE folder: * Typical location for 64 bit: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE * Typical location for 32 bit: C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE

Be careful, as you will lose all your project settings

查看更多
登录 后发表回答