What is this 'Waiting for Background operation

2019-01-08 05:44发布

Occassionaly, but fairly often, for no apparent reason, VS 2012 will lock up with a dialogue that says, "Waiting for a background operation to finish". E.g. this may happen during a plain old code edit, not on explicitly invoking any IDE command.

What causes this, and is there anything I can do about this?

I am running ReSharper 7, and I am not the only one I know experiencing this.

20条回答
别忘想泡老子
2楼-- · 2019-01-08 06:32

This fixed it for me:

Tools > Options > Text Editor > HTML > Miscellaneous

Uncheck the option "Auto ID elements on paste in Source View"

I will post an update if the problem comes back.

查看更多
淡お忘
3楼-- · 2019-01-08 06:32

I was having the same problem and running VS as an administrator seems to have done the trick for me (I had posted a similar question at Visual Studio 2012 Express Hangs with Message "Waiting for Background Operation to Complete" on Format Document Command that was marked as a duplicate for this one so I figured I would share here as well).

查看更多
萌系小妹纸
4楼-- · 2019-01-08 06:34

Deleting the Solutions "suo" file worked for me.

查看更多
forever°为你锁心
5楼-- · 2019-01-08 06:34

I have it fixed weeks ago after I turn TeamViewer 8 Clipboard Sync off! now it appears back with no reason so I tried reset all settings and it worked for me.

查看更多
迷人小祖宗
6楼-- · 2019-01-08 06:35

For me, it was Resharper addon opening a dialog which didn't show. I only found the dialog icon in the hidden icons menu on the task bar. When i got rid of the dialog, Visual Studio returned to normal immediately.

查看更多
淡お忘
7楼-- · 2019-01-08 06:36

Far from an ideal solution, but please trying running visual studio in administrator mode i tried virtually everything, and this was the only thing that worked for me

查看更多
登录 后发表回答