VS2015忙...等待内部操作完成 - >它是什么? [英] VS2015 Busy… waiting for internal operation to complete -> what is it?

查看:86
本文介绍了VS2015忙...等待内部操作完成 - >它是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近升级到Visual Studio 2015.

由于我不时(经常)我在构建解决方案时遇到问题。

构建挂起并且从通知区域出现一个Bubble:

I’ve recently upgraded to Visual Studio 2015.
Since that I from time to time (to often) I encounter a problem building my solution.
The build hangs and from the Notification Area a Bubble says:

> Microsoft Visual Studio忙碌

> Microsoft Visual Studio正在等待内部操作完成。

>如果您在正常使用期间经常遇到此延迟,

>请向Microsoft报告此问题

>Microsoft Visual Studio is Busy
>Microsoft Visual Studio is waiting for an internal operation to complete.
>If you regularly encounter this delay during normal usage,
>please report this problem to Microsoft

什么是Visual Studio等待的"内部操作"?

我如何确定它是什么?

What is it what 'internal operation' that is Visual Studio waiting for?
How can I determine what it is?

我已经删除了我安装的所有未使用的扩展,只有一些我真正需要的(Resharper,VisualSVN)和Microsoft的默认扩展安装...我真的不想玩卸载和安装,浪费
我的时间没有任何具体来源的提示。

I’ve also already removed all unused Extensions I installed, there are only some left I really need (Resharper, VisualSVN) and the default from Microsoft on installation … and I don’t really want to play around with uninstalling and installing and waste my time without any hints to concrete origin.

I'v e也启动了带有/ log enabeled的Visual Studio,最后一个条目似乎是:

I’ve also started Visual Studio with /log enabeled and the last entry seems to be:

  < entry>

    < record> 497< / record>

    < time> 2015/10/30 13:19:14.043< / time>

    < type>信息< / type>

    < source> VisualStudio< / source>

    < description>开始打包包[撤消包裹]< / description>

    < guid> {1D76B2E0-F11B-11D2-AFC3-00105A9991EF}< / guid>

  < / entry>

  < entry>

    < record> 498< / record>

    < time> 2015/10/30 13:19:14.043< / time>

    < type>信息< / type>

    < source> VisualStudio< / source>

    < description>结束包裹加载[撤销包裹]< / description>

    < guid> {1D76B2E0-F11B-11D2-AFC3-00105A9991EF}< / guid>

  < / entry> 

  <entry>
    <record>497</record>
    <time>2015/10/30 13:19:14.043</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Begin package load [Undo Package]</description>
    <guid>{1D76B2E0-F11B-11D2-AFC3-00105A9991EF}</guid>
  </entry>
  <entry>
    <record>498</record>
    <time>2015/10/30 13:19:14.043</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>End package load [Undo Package]</description>
    <guid>{1D76B2E0-F11B-11D2-AFC3-00105A9991EF}</guid>
  </entry> 




但这对我帮助不大......我还在这里问题:内部操作导致工作室等待。

But this helps me not much … I’m still here with the question: what internal operation is causing the studio to wait.

在分析期间(不仅仅是这个问题  ...而是像VS产生的过程一样使用端口我想要调试的应用程序需要...)我注意到VS的一些进程具有明显的内存/ cpu /端口 
消费女巫我不明白(需要?):

During analysis (not only of this one problem  … but like a process spawned by VS using a port my Application I want to debug would need …) I noticed some processes of VS with noticeable memory/cpu/port  consumption witch I don’t understand (need?):

vstest.discoveryengine.x86.exe

TE.ProcessHost。 Managed.exe

MSBuild.exe(其中有很多......认为这不是"可能的")

Microsoft.Alm.Shared.Remoting.RemoteContainer.dll

vstest.discoveryengine.x86.exe
TE.ProcessHost.Managed.exe
MSBuild.exe (there are many of them … thought this is not "possible")
Microsoft.Alm.Shared.Remoting.RemoteContainer.dll

我不确定这些流程与问题之间是否存在具体连接,但是......

I’m not sure if there is a concrete connection between these Processes and the problem, but …

...如果有人知道如何得到更多关于VS15在内部等待的信息,非常感谢。

… if someone knows how to get more info about what VS15 is waiting for internally, it would be appreciated very much.

编辑信息:

操作系统:Win7x64企业版¥b $ b Microsoft Visual Studio Professional 2015

版本14.0.23107.0 D14REL

Microsoft .NET Framework

版本4.6.00081

已安装版本:专业版



是的,它也出现在其他用户的机器上(相同的解决方案)。

杀死TaskManager - >启动VS15 + Build - >导致再次挂起... ...
杀死TaskManager - >启动VS15 + 清洁解决方案+构建 - >结果再次挂起......

Edit Info:
OS: Win7x64 Enterprise
Microsoft Visual Studio Professional 2015
Version 14.0.23107.0 D14REL
Microsoft .NET Framework
Version 4.6.00081
Installed Version: Professional

Yes, it also occurs on other users machines (same Solution).
Killing with TaskManager -> Start VS15 + Build -> results in Hang again ...
Killing with TaskManager -> Start VS15 +  Clean Solution + Build --> results in Hang again ...

推荐答案

嗨PaulEsn,

Hi PaulEsn,

什么类型的项目?此问题是与一个特定解决方案或Visual Studio 2015中的所有解决方案相关吗?

What type of project? Is this problem is related to one specific solution or for all solutions in Visual Studio 2015?

如果对于Visual Studio中的所有解决方案,请使用Process Monitor查看实时文件系统,Registry和进程/线程活动。您可以从
获得它

If for all solutions in Visual Studio, please use Process Monitor to watch real-time file system, Registry and process/thread activity. You can get it from

https://technet.microsoft.com/en-ie/sysinternals/bb896645.aspx?f=255&MSPPError=-2147217396

如果只是一个具体解决方案,请尝试以下步骤。

If just for one specific solution, please try with following steps.


  1. 请删除解决方案文件夹中的.suo文件,该文件保存此解决方案的所有用户设置。
  2. 创建一个具有相同名称的新解决方案,然后将项目和项目文件移动到新解决方案中,并添加"现有项目"和"现有项目"。办法。请在此步骤之前进行备份。
  3. 如果解决方案中有多个项目,请执行步骤2以确认哪个项目导致此问题。
  4. 请删除此处的NuGet包解决方案一个接一个,以确保哪个包导致这个问题。

最好的问候,

Weiwei

Best Regards,
Weiwei


这篇关于VS2015忙...等待内部操作完成 - &gt;它是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆